Summary|Tags|Feature:src/test/java/InspireTest/ngr/T02_Services.featureget details
Scenario Outline: [1.1:18]777f41ee-8269-4bbc-b0e4-f889c62be099
ms: 305
>>
Background:
1
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2
* def mystorage = Java.type('storage.DataStorage')
1
3
* def db = new mystorage
1
4
* def db = db.setfeature(karate.info.featureFileName)
2
5
* def separator = java.lang.System.getProperty("file.separator")
2
6
* def outputpath = db.outputpath()
1
7
* eval db.ensureDirectory(outputpath)
1
8
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11
Given path 'geonetwork/srv/dut/inspire'
1
12
And param service = 'CSW'
0
13
And param version = '2.0.2'
0
14
And param request = 'GetRecordById'
0
15
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
16
And param elementsetname = 'full'
0
17
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
18
When method get
286
19
Then status 200
0
20
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
21
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
22
* def title = get response //citation/CI_Citation/title/CharacterString
0
23
* def email = get response //electronicMailAddress/CharacterString
1
24
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
25
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
26
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
1
27
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
28
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
29
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
30
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
31
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
32
* print organisationpath
0
10:30:39.708 [print] Rijksinstituut voor Volksgezondheid en Milieu
33
* print operateson
0
10:30:39.708 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
34
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
35
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
36
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.2:18]745968a3-37af-4406-988e-ec595f58c7fe
ms: 411
>>
Background:
37
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
38
* def mystorage = Java.type('storage.DataStorage')
1
39
* def db = new mystorage
1
40
* def db = db.setfeature(karate.info.featureFileName)
2
41
* def separator = java.lang.System.getProperty("file.separator")
2
42
* def outputpath = db.outputpath()
1
43
* eval db.ensureDirectory(outputpath)
1
44
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
45
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
46
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
47
Given path 'geonetwork/srv/dut/inspire'
1
48
And param service = 'CSW'
14
49
And param version = '2.0.2'
0
50
And param request = 'GetRecordById'
0
51
And param id = '745968a3-37af-4406-988e-ec595f58c7fe'
1
52
And param elementsetname = 'full'
0
53
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
54
When method get
381
55
Then status 200
0
56
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe'
1
57
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
58
* def title = get response //citation/CI_Citation/title/CharacterString
1
59
* def email = get response //electronicMailAddress/CharacterString
1
60
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
61
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
62
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
63
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
64
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
65
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
66
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
67
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
68
* print organisationpath
0
10:30:39.803 [print] Rijksinstituut voor Volksgezondheid en Milieu
69
* print operateson
0
10:30:39.803 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
70
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
71
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
72
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.3:18]f61eec5c-cb91-40b6-ad35-9bca967006cc
ms: 349
>>
Background:
73
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
74
* def mystorage = Java.type('storage.DataStorage')
1
75
* def db = new mystorage
1
76
* def db = db.setfeature(karate.info.featureFileName)
2
77
* def separator = java.lang.System.getProperty("file.separator")
2
78
* def outputpath = db.outputpath()
1
79
* eval db.ensureDirectory(outputpath)
1
80
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
81
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
82
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
83
Given path 'geonetwork/srv/dut/inspire'
1
84
And param service = 'CSW'
0
85
And param version = '2.0.2'
0
86
And param request = 'GetRecordById'
0
87
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
88
And param elementsetname = 'full'
0
89
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
90
When method get
334
91
Then status 200
0
92
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
93
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
94
* def title = get response //citation/CI_Citation/title/CharacterString
0
95
* def email = get response //electronicMailAddress/CharacterString
0
96
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
97
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
98
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
99
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
100
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
101
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
102
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
103
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
104
* print organisationpath
0
10:30:39.757 [print] Rijksinstituut voor Volksgezondheid en Milieu
105
* print operateson
0
10:30:39.757 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
106
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
107
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
108
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.4:18]a4c5aa6c-6c7f-45d7-9799-011edd83d9c2
ms: 420
>>
Background:
109
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
110
* def mystorage = Java.type('storage.DataStorage')
1
111
* def db = new mystorage
1
112
* def db = db.setfeature(karate.info.featureFileName)
2
113
* def separator = java.lang.System.getProperty("file.separator")
2
114
* def outputpath = db.outputpath()
1
115
* eval db.ensureDirectory(outputpath)
1
116
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
117
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
118
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
119
Given path 'geonetwork/srv/dut/inspire'
1
120
And param service = 'CSW'
0
121
And param version = '2.0.2'
0
122
And param request = 'GetRecordById'
0
123
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
1
124
And param elementsetname = 'full'
0
125
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
126
When method get
403
127
Then status 200
0
128
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
1
129
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
130
* def title = get response //citation/CI_Citation/title/CharacterString
0
131
* def email = get response //electronicMailAddress/CharacterString
0
132
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
133
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
134
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
135
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
136
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
137
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
138
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
139
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
140
* print organisationpath
0
10:30:39.842 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
141
* print operateson
0
10:30:39.842 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
142
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
143
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
144
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.5:18]c56433ca-35f2-4aaf-8bfa-35d8e0e52dda
ms: 284
>>
Background:
145
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
146
* def mystorage = Java.type('storage.DataStorage')
1
147
* def db = new mystorage
1
148
* def db = db.setfeature(karate.info.featureFileName)
2
149
* def separator = java.lang.System.getProperty("file.separator")
2
150
* def outputpath = db.outputpath()
1
151
* eval db.ensureDirectory(outputpath)
1
152
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
153
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
154
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
155
Given path 'geonetwork/srv/dut/inspire'
1
156
And param service = 'CSW'
0
157
And param version = '2.0.2'
0
158
And param request = 'GetRecordById'
0
159
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
1
160
And param elementsetname = 'full'
0
161
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
162
When method get
269
163
Then status 200
0
164
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
1
165
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
166
* def title = get response //citation/CI_Citation/title/CharacterString
1
167
* def email = get response //electronicMailAddress/CharacterString
0
168
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
169
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
170
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
171
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
172
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
173
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
174
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
175
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
176
* print organisationpath
0
10:30:39.992 [print] Rijksinstituut voor Volksgezondheid en Milieu
177
* print operateson
1
10:30:39.994 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
178
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
179
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
180
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.6:18]539ec652-482d-4806-a830-0458cf8be477
ms: 291
>>
Background:
181
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
182
* def mystorage = Java.type('storage.DataStorage')
1
183
* def db = new mystorage
1
184
* def db = db.setfeature(karate.info.featureFileName)
2
185
* def separator = java.lang.System.getProperty("file.separator")
2
186
* def outputpath = db.outputpath()
1
187
* eval db.ensureDirectory(outputpath)
1
188
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
189
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
190
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
191
Given path 'geonetwork/srv/dut/inspire'
1
192
And param service = 'CSW'
0
193
And param version = '2.0.2'
0
194
And param request = 'GetRecordById'
0
195
And param id = '539ec652-482d-4806-a830-0458cf8be477'
1
196
And param elementsetname = 'full'
0
197
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
198
When method get
275
199
Then status 200
0
200
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477'
1
201
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
202
* def title = get response //citation/CI_Citation/title/CharacterString
0
203
* def email = get response //electronicMailAddress/CharacterString
0
204
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
205
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
206
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
207
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
208
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
209
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
210
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
211
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
212
* print organisationpath
0
10:30:40.049 [print] Informatiehuis Water
213
* print operateson
0
10:30:40.049 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
214
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
215
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
216
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.7:18]a88b4ed1-49c1-4f91-991e-dc1cc7c575f7
ms: 304
>>
Background:
217
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
218
* def mystorage = Java.type('storage.DataStorage')
1
219
* def db = new mystorage
1
220
* def db = db.setfeature(karate.info.featureFileName)
2
221
* def separator = java.lang.System.getProperty("file.separator")
2
222
* def outputpath = db.outputpath()
1
223
* eval db.ensureDirectory(outputpath)
1
224
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
225
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
226
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
227
Given path 'geonetwork/srv/dut/inspire'
1
228
And param service = 'CSW'
0
229
And param version = '2.0.2'
0
230
And param request = 'GetRecordById'
0
231
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
232
And param elementsetname = 'full'
0
233
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
234
When method get
286
235
Then status 200
0
236
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
237
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
238
* def title = get response //citation/CI_Citation/title/CharacterString
0
239
* def email = get response //electronicMailAddress/CharacterString
0
240
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
241
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
242
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
243
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
244
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
245
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
246
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
247
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
248
* print organisationpath
0
10:30:40.105 [print] Interprovinciaal Overleg
249
* print operateson
0
10:30:40.105 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
250
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
251
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
252
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.8:18]1ff0035a-acc0-4a67-a76c-3b79646b4eef
ms: 298
>>
Background:
253
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
254
* def mystorage = Java.type('storage.DataStorage')
1
255
* def db = new mystorage
1
256
* def db = db.setfeature(karate.info.featureFileName)
2
257
* def separator = java.lang.System.getProperty("file.separator")
2
258
* def outputpath = db.outputpath()
1
259
* eval db.ensureDirectory(outputpath)
1
260
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
261
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
262
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
263
Given path 'geonetwork/srv/dut/inspire'
1
264
And param service = 'CSW'
0
265
And param version = '2.0.2'
0
266
And param request = 'GetRecordById'
0
267
And param id = '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
1
268
And param elementsetname = 'full'
0
269
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
270
When method get
281
271
Then status 200
0
272
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
1
273
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
274
* def title = get response //citation/CI_Citation/title/CharacterString
0
275
* def email = get response //electronicMailAddress/CharacterString
0
276
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
277
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
278
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
279
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
280
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
281
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
282
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
283
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
284
* print organisationpath
1
10:30:40.141 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
285
* print operateson
0
10:30:40.141 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
286
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
287
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
288
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.9:18]3094a1c4-3dd6-4e8e-9929-4a63dd66992e
ms: 277
>>
Background:
289
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
290
* def mystorage = Java.type('storage.DataStorage')
1
291
* def db = new mystorage
1
292
* def db = db.setfeature(karate.info.featureFileName)
2
293
* def separator = java.lang.System.getProperty("file.separator")
2
294
* def outputpath = db.outputpath()
1
295
* eval db.ensureDirectory(outputpath)
1
296
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
297
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
298
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
299
Given path 'geonetwork/srv/dut/inspire'
1
300
And param service = 'CSW'
0
301
And param version = '2.0.2'
0
302
And param request = 'GetRecordById'
0
303
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
1
304
And param elementsetname = 'full'
0
305
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
306
When method get
261
307
Then status 200
0
308
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
1
309
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
310
* def title = get response //citation/CI_Citation/title/CharacterString
1
311
* def email = get response //electronicMailAddress/CharacterString
1
312
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
313
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
314
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
315
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
316
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
317
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
318
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
319
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
320
* print organisationpath
0
10:30:40.271 [print] Interprovinciaal Overleg
321
* print operateson
0
10:30:40.271 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
322
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
323
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
324
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.10:18]2d1860f2-f8ba-457e-bd64-93cdabd69aee
ms: 295
>>
Background:
325
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
326
* def mystorage = Java.type('storage.DataStorage')
1
327
* def db = new mystorage
1
328
* def db = db.setfeature(karate.info.featureFileName)
2
329
* def separator = java.lang.System.getProperty("file.separator")
2
330
* def outputpath = db.outputpath()
1
331
* eval db.ensureDirectory(outputpath)
1
332
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
333
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
334
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
335
Given path 'geonetwork/srv/dut/inspire'
1
336
And param service = 'CSW'
0
337
And param version = '2.0.2'
0
338
And param request = 'GetRecordById'
0
339
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
0
340
And param elementsetname = 'full'
0
341
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
342
When method get
278
343
Then status 200
0
344
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
1
345
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
346
* def title = get response //citation/CI_Citation/title/CharacterString
0
347
* def email = get response //electronicMailAddress/CharacterString
0
348
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
349
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
350
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
351
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
352
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
353
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
354
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
355
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
356
* print organisationpath
1
10:30:40.344 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
357
* print operateson
0
10:30:40.344 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
358
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
359
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
360
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.11:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b3
ms: 316
>>
Background:
361
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
362
* def mystorage = Java.type('storage.DataStorage')
1
363
* def db = new mystorage
1
364
* def db = db.setfeature(karate.info.featureFileName)
2
365
* def separator = java.lang.System.getProperty("file.separator")
2
366
* def outputpath = db.outputpath()
1
367
* eval db.ensureDirectory(outputpath)
1
368
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
369
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
370
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
371
Given path 'geonetwork/srv/dut/inspire'
1
372
And param service = 'CSW'
0
373
And param version = '2.0.2'
0
374
And param request = 'GetRecordById'
0
375
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
1
376
And param elementsetname = 'full'
0
377
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
378
When method get
294
379
Then status 200
0
380
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
1
381
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
382
* def title = get response //citation/CI_Citation/title/CharacterString
0
383
* def email = get response //electronicMailAddress/CharacterString
1
384
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
385
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
386
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
387
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
388
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
389
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
390
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
391
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
392
* print organisationpath
0
10:30:40.417 [print] Rijkswaterstaat
393
* print operateson
0
10:30:40.418 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
394
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
395
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
10
396
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.12:18]wt-83730-e750-485a-9c0c-39bf9bm72cf8
ms: 331
>>
Background:
397
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
398
* def mystorage = Java.type('storage.DataStorage')
1
399
* def db = new mystorage
1
400
* def db = db.setfeature(karate.info.featureFileName)
2
401
* def separator = java.lang.System.getProperty("file.separator")
2
402
* def outputpath = db.outputpath()
1
403
* eval db.ensureDirectory(outputpath)
1
404
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
405
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
406
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
407
Given path 'geonetwork/srv/dut/inspire'
1
408
And param service = 'CSW'
0
409
And param version = '2.0.2'
0
410
And param request = 'GetRecordById'
0
411
And param id = 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
1
412
And param elementsetname = 'full'
0
413
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
414
When method get
312
415
Then status 200
0
416
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
1
417
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
418
* def title = get response //citation/CI_Citation/title/CharacterString
0
419
* def email = get response //electronicMailAddress/CharacterString
1
420
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
421
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
422
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
423
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
424
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
425
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
426
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
427
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
428
* print organisationpath
1
10:30:40.472 [print] Rijkswaterstaat
429
* print operateson
0
10:30:40.473 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
430
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
431
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
432
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.13:18]wt-f297898-2640-44c2-bbe9-c0480dt83794
ms: 283
>>
Background:
433
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
434
* def mystorage = Java.type('storage.DataStorage')
1
435
* def db = new mystorage
1
436
* def db = db.setfeature(karate.info.featureFileName)
2
437
* def separator = java.lang.System.getProperty("file.separator")
2
438
* def outputpath = db.outputpath()
1
439
* eval db.ensureDirectory(outputpath)
1
440
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
441
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
442
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
443
Given path 'geonetwork/srv/dut/inspire'
1
444
And param service = 'CSW'
0
445
And param version = '2.0.2'
0
446
And param request = 'GetRecordById'
0
447
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
448
And param elementsetname = 'full'
0
449
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
450
When method get
271
451
Then status 200
0
452
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
453
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
454
* def title = get response //citation/CI_Citation/title/CharacterString
0
455
* def email = get response //electronicMailAddress/CharacterString
0
456
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
457
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
458
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
459
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
460
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
461
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
462
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
463
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
464
* print organisationpath
0
10:30:40.556 [print] Rijkswaterstaat
465
* print operateson
0
10:30:40.556 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
466
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
467
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
468
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.14:18]tn-2c7040b-c448-451b-bf15-f2416emaadd1
ms: 298
>>
Background:
469
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
470
* def mystorage = Java.type('storage.DataStorage')
1
471
* def db = new mystorage
1
472
* def db = db.setfeature(karate.info.featureFileName)
2
473
* def separator = java.lang.System.getProperty("file.separator")
2
474
* def outputpath = db.outputpath()
1
475
* eval db.ensureDirectory(outputpath)
1
476
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
477
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
478
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
479
Given path 'geonetwork/srv/dut/inspire'
1
480
And param service = 'CSW'
0
481
And param version = '2.0.2'
0
482
And param request = 'GetRecordById'
0
483
And param id = 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
1
484
And param elementsetname = 'full'
0
485
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
486
When method get
284
487
Then status 200
0
488
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
1
489
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
490
* def title = get response //citation/CI_Citation/title/CharacterString
1
491
* def email = get response //electronicMailAddress/CharacterString
1
492
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
493
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
494
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
495
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
496
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
497
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
498
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
499
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
500
* print organisationpath
0
10:30:40.646 [print] Rijkswaterstaat
501
* print operateson
0
10:30:40.646 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
502
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
503
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
504
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.15:18]68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2
ms: 296
>>
Background:
505
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
506
* def mystorage = Java.type('storage.DataStorage')
1
507
* def db = new mystorage
1
508
* def db = db.setfeature(karate.info.featureFileName)
2
509
* def separator = java.lang.System.getProperty("file.separator")
2
510
* def outputpath = db.outputpath()
1
511
* eval db.ensureDirectory(outputpath)
1
512
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
513
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
514
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
515
Given path 'geonetwork/srv/dut/inspire'
1
516
And param service = 'CSW'
0
517
And param version = '2.0.2'
0
518
And param request = 'GetRecordById'
0
519
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
1
520
And param elementsetname = 'full'
0
521
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
522
When method get
281
523
Then status 200
0
524
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
1
525
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
526
* def title = get response //citation/CI_Citation/title/CharacterString
1
527
* def email = get response //electronicMailAddress/CharacterString
0
528
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
529
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
530
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
531
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
532
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
533
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
534
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
535
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
536
* print organisationpath
0
10:30:40.721 [print] Rijkswaterstaat
537
* print operateson
0
10:30:40.721 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
538
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
539
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
540
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.16:18]cf69ec50-9849-4afd-853c-ee5621fd336d
ms: 287
>>
Background:
541
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
542
* def mystorage = Java.type('storage.DataStorage')
1
543
* def db = new mystorage
1
544
* def db = db.setfeature(karate.info.featureFileName)
2
545
* def separator = java.lang.System.getProperty("file.separator")
2
546
* def outputpath = db.outputpath()
1
547
* eval db.ensureDirectory(outputpath)
1
548
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
549
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
550
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
551
Given path 'geonetwork/srv/dut/inspire'
0
552
And param service = 'CSW'
0
553
And param version = '2.0.2'
0
554
And param request = 'GetRecordById'
0
555
And param id = 'cf69ec50-9849-4afd-853c-ee5621fd336d'
1
556
And param elementsetname = 'full'
0
557
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
558
When method get
264
559
Then status 200
0
560
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621fd336d'
1
561
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
562
* def title = get response //citation/CI_Citation/title/CharacterString
0
563
* def email = get response //electronicMailAddress/CharacterString
0
564
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
565
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
566
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
567
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
568
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
569
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
570
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
571
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
572
* print organisationpath
6
10:30:40.761 [print] Rijkswaterstaat
573
* print operateson
0
10:30:40.761 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
574
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
575
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
576
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.17:18]49a53bc1-dd76-417f-b9af-066901ddfec0
ms: 299
>>
Background:
577
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
578
* def mystorage = Java.type('storage.DataStorage')
1
579
* def db = new mystorage
1
580
* def db = db.setfeature(karate.info.featureFileName)
2
581
* def separator = java.lang.System.getProperty("file.separator")
2
582
* def outputpath = db.outputpath()
1
583
* eval db.ensureDirectory(outputpath)
1
584
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
585
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
586
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
587
Given path 'geonetwork/srv/dut/inspire'
1
588
And param service = 'CSW'
0
589
And param version = '2.0.2'
0
590
And param request = 'GetRecordById'
0
591
And param id = '49a53bc1-dd76-417f-b9af-066901ddfec0'
1
592
And param elementsetname = 'full'
0
593
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
594
When method get
285
595
Then status 200
0
596
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49a53bc1-dd76-417f-b9af-066901ddfec0'
1
597
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
598
* def title = get response //citation/CI_Citation/title/CharacterString
0
599
* def email = get response //electronicMailAddress/CharacterString
0
600
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
601
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
602
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
603
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
604
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
605
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
606
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
607
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
608
* print organisationpath
0
10:30:40.854 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
609
* print operateson
0
10:30:40.854 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
610
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
611
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
612
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.18:18]e08079df-6c19-486e-916e-5c9948cfafea
ms: 324
>>
Background:
613
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
614
* def mystorage = Java.type('storage.DataStorage')
1
615
* def db = new mystorage
1
616
* def db = db.setfeature(karate.info.featureFileName)
2
617
* def separator = java.lang.System.getProperty("file.separator")
2
618
* def outputpath = db.outputpath()
1
619
* eval db.ensureDirectory(outputpath)
1
620
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
621
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
622
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
623
Given path 'geonetwork/srv/dut/inspire'
1
624
And param service = 'CSW'
0
625
And param version = '2.0.2'
0
626
And param request = 'GetRecordById'
0
627
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea'
1
628
And param elementsetname = 'full'
0
629
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
630
When method get
279
631
Then status 200
0
632
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea'
1
633
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
634
* def title = get response //citation/CI_Citation/title/CharacterString
0
635
* def email = get response //electronicMailAddress/CharacterString
1
636
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
30
637
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
638
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
639
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
640
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
641
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
642
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
643
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
644
* print organisationpath
1
10:30:40.970 [print] Beheer PDOK
645
* print operateson
0
10:30:40.971 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
646
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
647
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
648
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.19:18]d796fd8d-b1e0-465c-a55b-1e9fe885fc3d
ms: 309
>>
Background:
649
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
650
* def mystorage = Java.type('storage.DataStorage')
1
651
* def db = new mystorage
1
652
* def db = db.setfeature(karate.info.featureFileName)
2
653
* def separator = java.lang.System.getProperty("file.separator")
2
654
* def outputpath = db.outputpath()
1
655
* eval db.ensureDirectory(outputpath)
1
656
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
657
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
658
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
659
Given path 'geonetwork/srv/dut/inspire'
1
660
And param service = 'CSW'
0
661
And param version = '2.0.2'
0
662
And param request = 'GetRecordById'
0
663
And param id = 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
664
And param elementsetname = 'full'
0
665
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
666
When method get
286
667
Then status 200
0
668
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
669
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
670
* def title = get response //citation/CI_Citation/title/CharacterString
0
671
* def email = get response //electronicMailAddress/CharacterString
8
672
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
673
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
674
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
675
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
676
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
677
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
678
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
679
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
680
* print organisationpath
0
10:30:41.029 [print] TNO Geologische Dienst Nederland
681
* print operateson
0
10:30:41.030 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
682
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
683
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
684
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.20:18]f0eb64f9-8888-42e1-9550-bf91c32da4bc
ms: 306
>>
Background:
685
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
686
* def mystorage = Java.type('storage.DataStorage')
1
687
* def db = new mystorage
1
688
* def db = db.setfeature(karate.info.featureFileName)
2
689
* def separator = java.lang.System.getProperty("file.separator")
2
690
* def outputpath = db.outputpath()
1
691
* eval db.ensureDirectory(outputpath)
1
692
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
693
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
694
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
695
Given path 'geonetwork/srv/dut/inspire'
1
696
And param service = 'CSW'
0
697
And param version = '2.0.2'
0
698
And param request = 'GetRecordById'
0
699
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
1
700
And param elementsetname = 'full'
0
701
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
702
When method get
288
703
Then status 200
0
704
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
1
705
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
706
* def title = get response //citation/CI_Citation/title/CharacterString
1
707
* def email = get response //electronicMailAddress/CharacterString
3
708
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
709
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
710
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
711
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
712
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
713
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
714
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
715
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
716
* print organisationpath
0
10:30:41.108 [print] Rijksinstituut voor Volksgezondheid en Milieu
717
* print operateson
1
10:30:41.110 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
718
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
719
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
720
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.21:18]1a8d5470-8c5e-477a-ab6b-4893b6d21ab6
ms: 303
>>
Background:
721
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
722
* def mystorage = Java.type('storage.DataStorage')
1
723
* def db = new mystorage
1
724
* def db = db.setfeature(karate.info.featureFileName)
2
725
* def separator = java.lang.System.getProperty("file.separator")
2
726
* def outputpath = db.outputpath()
1
727
* eval db.ensureDirectory(outputpath)
1
728
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
729
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
730
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
731
Given path 'geonetwork/srv/dut/inspire'
1
732
And param service = 'CSW'
0
733
And param version = '2.0.2'
0
734
And param request = 'GetRecordById'
0
735
And param id = '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
1
736
And param elementsetname = 'full'
0
737
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
738
When method get
289
739
Then status 200
0
740
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
1
741
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
742
* def title = get response //citation/CI_Citation/title/CharacterString
0
743
* def email = get response //electronicMailAddress/CharacterString
0
744
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
745
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
746
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
747
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
748
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
749
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
750
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
751
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
752
* print organisationpath
0
10:30:41.158 [print] TNO Geologische Dienst Nederland
753
* print operateson
0
10:30:41.158 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
754
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
755
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
756
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.22:18]5dfccef3-9b52-47f2-bb02-66b74aaf3af8
ms: 322
>>
Background:
757
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
758
* def mystorage = Java.type('storage.DataStorage')
1
759
* def db = new mystorage
1
760
* def db = db.setfeature(karate.info.featureFileName)
2
761
* def separator = java.lang.System.getProperty("file.separator")
2
762
* def outputpath = db.outputpath()
1
763
* eval db.ensureDirectory(outputpath)
1
764
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
765
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
766
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
767
Given path 'geonetwork/srv/dut/inspire'
1
768
And param service = 'CSW'
0
769
And param version = '2.0.2'
0
770
And param request = 'GetRecordById'
0
771
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
772
And param elementsetname = 'full'
0
773
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
774
When method get
308
775
Then status 200
0
776
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
777
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
778
* def title = get response //citation/CI_Citation/title/CharacterString
0
779
* def email = get response //electronicMailAddress/CharacterString
0
780
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
781
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
782
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
783
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
784
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
785
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
786
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
787
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
788
* print organisationpath
1
10:30:41.293 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
789
* print operateson
0
10:30:41.293 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
790
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
791
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
792
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.23:18]a02c6566-e0ad-4fc1-b217-67cc1099dea2
ms: 315
>>
Background:
793
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
794
* def mystorage = Java.type('storage.DataStorage')
1
795
* def db = new mystorage
1
796
* def db = db.setfeature(karate.info.featureFileName)
2
797
* def separator = java.lang.System.getProperty("file.separator")
2
798
* def outputpath = db.outputpath()
1
799
* eval db.ensureDirectory(outputpath)
1
800
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
801
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
802
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
803
Given path 'geonetwork/srv/dut/inspire'
1
804
And param service = 'CSW'
0
805
And param version = '2.0.2'
0
806
And param request = 'GetRecordById'
0
807
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
1
808
And param elementsetname = 'full'
0
809
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
810
When method get
298
811
Then status 200
0
812
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
1
813
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
814
* def title = get response //citation/CI_Citation/title/CharacterString
1
815
* def email = get response //electronicMailAddress/CharacterString
0
816
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
817
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
818
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
819
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
820
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
821
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
822
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
823
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
824
* print organisationpath
0
10:30:41.345 [print] Rijksinstituut voor Volksgezondheid en Milieu
825
* print operateson
0
10:30:41.345 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
826
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
827
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
828
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.24:18]081bcfff-5f66-467c-95d0-d88dcf9aa4cf
ms: 315
>>
Background:
829
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
830
* def mystorage = Java.type('storage.DataStorage')
1
831
* def db = new mystorage
1
832
* def db = db.setfeature(karate.info.featureFileName)
2
833
* def separator = java.lang.System.getProperty("file.separator")
2
834
* def outputpath = db.outputpath()
1
835
* eval db.ensureDirectory(outputpath)
1
836
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
837
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
838
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
839
Given path 'geonetwork/srv/dut/inspire'
1
840
And param service = 'CSW'
0
841
And param version = '2.0.2'
0
842
And param request = 'GetRecordById'
0
843
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
1
844
And param elementsetname = 'full'
0
845
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
846
When method get
302
847
Then status 200
0
848
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
1
849
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
850
* def title = get response //citation/CI_Citation/title/CharacterString
0
851
* def email = get response //electronicMailAddress/CharacterString
1
852
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
853
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
854
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
855
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
856
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
857
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
858
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
859
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
860
* print organisationpath
0
10:30:41.429 [print] Rijksinstituut voor Volksgezondheid en Milieu
861
* print operateson
0
10:30:41.429 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
862
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
863
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
864
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.25:18]wt-f297898-2640-44c2-bbe9-c0480dm83794
ms: 305
>>
Background:
865
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
866
* def mystorage = Java.type('storage.DataStorage')
1
867
* def db = new mystorage
1
868
* def db = db.setfeature(karate.info.featureFileName)
2
869
* def separator = java.lang.System.getProperty("file.separator")
2
870
* def outputpath = db.outputpath()
1
871
* eval db.ensureDirectory(outputpath)
1
872
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
873
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
874
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
875
Given path 'geonetwork/srv/dut/inspire'
1
876
And param service = 'CSW'
0
877
And param version = '2.0.2'
0
878
And param request = 'GetRecordById'
0
879
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
880
And param elementsetname = 'full'
0
881
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
882
When method get
289
883
Then status 200
0
884
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
885
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
886
* def title = get response //citation/CI_Citation/title/CharacterString
1
887
* def email = get response //electronicMailAddress/CharacterString
1
888
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
889
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
890
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
891
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
892
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
893
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
894
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
895
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
896
* print organisationpath
0
10:30:41.465 [print] Rijkswaterstaat
897
* print operateson
0
10:30:41.465 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
898
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
899
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
900
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.26:18]18e052b6-dce6-11e3-9e6e-901b0e19e163
ms: 299
>>
Background:
901
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
902
* def mystorage = Java.type('storage.DataStorage')
1
903
* def db = new mystorage
1
904
* def db = db.setfeature(karate.info.featureFileName)
2
905
* def separator = java.lang.System.getProperty("file.separator")
2
906
* def outputpath = db.outputpath()
1
907
* eval db.ensureDirectory(outputpath)
1
908
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
909
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
910
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
911
Given path 'geonetwork/srv/dut/inspire'
1
912
And param service = 'CSW'
0
913
And param version = '2.0.2'
0
914
And param request = 'GetRecordById'
0
915
And param id = '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
916
And param elementsetname = 'full'
0
917
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
918
When method get
276
919
Then status 200
0
920
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
921
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
922
* def title = get response //citation/CI_Citation/title/CharacterString
0
923
* def email = get response //electronicMailAddress/CharacterString
2
924
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
925
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
926
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
927
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
928
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
929
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
930
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
931
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
932
* print organisationpath
0
10:30:41.585 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
933
* print operateson
2
10:30:41.586 [print] [ "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
934
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
935
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
936
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.27:18]95e2c712-1b91-4f24-9453-c56b95227717
ms: 296
>>
Background:
937
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
938
* def mystorage = Java.type('storage.DataStorage')
1
939
* def db = new mystorage
1
940
* def db = db.setfeature(karate.info.featureFileName)
2
941
* def separator = java.lang.System.getProperty("file.separator")
2
942
* def outputpath = db.outputpath()
1
943
* eval db.ensureDirectory(outputpath)
1
944
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
945
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
946
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
947
Given path 'geonetwork/srv/dut/inspire'
1
948
And param service = 'CSW'
0
949
And param version = '2.0.2'
0
950
And param request = 'GetRecordById'
0
951
And param id = '95e2c712-1b91-4f24-9453-c56b95227717'
1
952
And param elementsetname = 'full'
0
953
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
954
When method get
280
955
Then status 200
0
956
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717'
1
957
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
958
* def title = get response //citation/CI_Citation/title/CharacterString
1
959
* def email = get response //electronicMailAddress/CharacterString
0
960
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
961
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
962
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
963
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
964
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
965
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
966
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
967
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
968
* print organisationpath
0
10:30:41.642 [print] Rijksinstituut voor Volksgezondheid en Milieu
969
* print operateson
0
10:30:41.643 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
970
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
971
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
972
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.28:18]f2d2cd9d-7410-485a-95e0-c1b885243eaf
ms: 310
>>
Background:
973
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
974
* def mystorage = Java.type('storage.DataStorage')
1
975
* def db = new mystorage
1
976
* def db = db.setfeature(karate.info.featureFileName)
2
977
* def separator = java.lang.System.getProperty("file.separator")
2
978
* def outputpath = db.outputpath()
1
979
* eval db.ensureDirectory(outputpath)
1
980
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
981
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
982
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
983
Given path 'geonetwork/srv/dut/inspire'
1
984
And param service = 'CSW'
0
985
And param version = '2.0.2'
0
986
And param request = 'GetRecordById'
0
987
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
0
988
And param elementsetname = 'full'
0
989
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
990
When method get
291
991
Then status 200
0
992
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
1
993
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
994
* def title = get response //citation/CI_Citation/title/CharacterString
1
995
* def email = get response //electronicMailAddress/CharacterString
0
996
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
997
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
998
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
999
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1000
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1001
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1002
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1003
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1004
* print organisationpath
3
10:30:41.736 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1005
* print operateson
0
10:30:41.737 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
1006
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1007
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
1008
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.29:18]wt-3730-e750-485a-9c0c-39bf9bf72cf9
ms: 313
>>
Background:
1009
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1010
* def mystorage = Java.type('storage.DataStorage')
1
1011
* def db = new mystorage
1
1012
* def db = db.setfeature(karate.info.featureFileName)
2
1013
* def separator = java.lang.System.getProperty("file.separator")
2
1014
* def outputpath = db.outputpath()
1
1015
* eval db.ensureDirectory(outputpath)
1
1016
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1017
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1018
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1019
Given path 'geonetwork/srv/dut/inspire'
1
1020
And param service = 'CSW'
0
1021
And param version = '2.0.2'
0
1022
And param request = 'GetRecordById'
0
1023
And param id = 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
0
1024
And param elementsetname = 'full'
0
1025
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1026
When method get
300
1027
Then status 200
0
1028
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
1
1029
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1030
* def title = get response //citation/CI_Citation/title/CharacterString
0
1031
* def email = get response //electronicMailAddress/CharacterString
0
1032
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1033
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1034
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1035
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1036
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1037
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1038
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1039
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1040
* print organisationpath
0
10:30:41.778 [print] Rijkswaterstaat
1041
* print operateson
0
10:30:41.779 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
1042
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1043
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1044
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.30:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 312
>>
Background:
1045
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1046
* def mystorage = Java.type('storage.DataStorage')
1
1047
* def db = new mystorage
1
1048
* def db = db.setfeature(karate.info.featureFileName)
2
1049
* def separator = java.lang.System.getProperty("file.separator")
2
1050
* def outputpath = db.outputpath()
1
1051
* eval db.ensureDirectory(outputpath)
1
1052
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1053
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1054
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1055
Given path 'geonetwork/srv/dut/inspire'
1
1056
And param service = 'CSW'
0
1057
And param version = '2.0.2'
0
1058
And param request = 'GetRecordById'
0
1059
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
1060
And param elementsetname = 'full'
0
1061
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1062
When method get
300
1063
Then status 200
0
1064
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
1065
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1066
* def title = get response //citation/CI_Citation/title/CharacterString
1
1067
* def email = get response //electronicMailAddress/CharacterString
1
1068
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1069
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1070
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1071
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1072
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1073
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1074
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1075
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1076
* print organisationpath
0
10:30:41.907 [print] Rijkswaterstaat
1077
* print operateson
0
10:30:41.907 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1078
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1079
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1080
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.31:18]0d2ca03b-fb7b-466a-bb93-e2bfb596e394
ms: 309
>>
Background:
1081
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1082
* def mystorage = Java.type('storage.DataStorage')
1
1083
* def db = new mystorage
1
1084
* def db = db.setfeature(karate.info.featureFileName)
2
1085
* def separator = java.lang.System.getProperty("file.separator")
2
1086
* def outputpath = db.outputpath()
1
1087
* eval db.ensureDirectory(outputpath)
1
1088
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1089
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1090
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1091
Given path 'geonetwork/srv/dut/inspire'
1
1092
And param service = 'CSW'
0
1093
And param version = '2.0.2'
0
1094
And param request = 'GetRecordById'
0
1095
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
1096
And param elementsetname = 'full'
0
1097
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1098
When method get
297
1099
Then status 200
0
1100
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
1101
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1102
* def title = get response //citation/CI_Citation/title/CharacterString
0
1103
* def email = get response //electronicMailAddress/CharacterString
0
1104
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
1105
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1106
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1107
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1108
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1109
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1110
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1111
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1112
* print organisationpath
0
10:30:41.954 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1113
* print operateson
0
10:30:41.955 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1114
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1115
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1116
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.32:18]7b4a0b26-5885-45cd-a99d-27887cff68e5
ms: 293
>>
Background:
1117
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1118
* def mystorage = Java.type('storage.DataStorage')
1
1119
* def db = new mystorage
1
1120
* def db = db.setfeature(karate.info.featureFileName)
2
1121
* def separator = java.lang.System.getProperty("file.separator")
2
1122
* def outputpath = db.outputpath()
1
1123
* eval db.ensureDirectory(outputpath)
1
1124
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1125
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1126
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1127
Given path 'geonetwork/srv/dut/inspire'
0
1128
And param service = 'CSW'
0
1129
And param version = '2.0.2'
0
1130
And param request = 'GetRecordById'
0
1131
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
1132
And param elementsetname = 'full'
0
1133
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1134
When method get
279
1135
Then status 200
0
1136
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
1137
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1138
* def title = get response //citation/CI_Citation/title/CharacterString
0
1139
* def email = get response //electronicMailAddress/CharacterString
0
1140
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1141
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1142
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1143
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1144
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1145
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1146
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1147
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1148
* print organisationpath
0
10:30:42.031 [print] TNO Geologische Dienst Nederland
1149
* print operateson
0
10:30:42.031 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1150
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1151
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1152
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.33:18]f39d198a-1e69-43cc-b359-cc60a8c22d28
ms: 295
>>
Background:
1153
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1154
* def mystorage = Java.type('storage.DataStorage')
1
1155
* def db = new mystorage
1
1156
* def db = db.setfeature(karate.info.featureFileName)
2
1157
* def separator = java.lang.System.getProperty("file.separator")
2
1158
* def outputpath = db.outputpath()
1
1159
* eval db.ensureDirectory(outputpath)
1
1160
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1161
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1162
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1163
Given path 'geonetwork/srv/dut/inspire'
0
1164
And param service = 'CSW'
0
1165
And param version = '2.0.2'
0
1166
And param request = 'GetRecordById'
0
1167
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
1
1168
And param elementsetname = 'full'
0
1169
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1170
When method get
282
1171
Then status 200
0
1172
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
1
1173
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1174
* def title = get response //citation/CI_Citation/title/CharacterString
0
1175
* def email = get response //electronicMailAddress/CharacterString
0
1176
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1177
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1178
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1179
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1180
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1181
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1182
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1183
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1184
* print organisationpath
0
10:30:42.075 [print] Rijksinstituut voor Volksgezondheid en Milieu
1185
* print operateson
0
10:30:42.076 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082#MD_DataIdentification" ]
1186
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1187
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1188
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.34:18]c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f
ms: 339
>>
Background:
1189
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1190
* def mystorage = Java.type('storage.DataStorage')
1
1191
* def db = new mystorage
1
1192
* def db = db.setfeature(karate.info.featureFileName)
2
1193
* def separator = java.lang.System.getProperty("file.separator")
2
1194
* def outputpath = db.outputpath()
1
1195
* eval db.ensureDirectory(outputpath)
1
1196
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1197
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1198
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1199
Given path 'geonetwork/srv/dut/inspire'
1
1200
And param service = 'CSW'
0
1201
And param version = '2.0.2'
0
1202
And param request = 'GetRecordById'
0
1203
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
0
1204
And param elementsetname = 'full'
0
1205
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1206
When method get
327
1207
Then status 200
0
1208
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
1
1209
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1210
* def title = get response //citation/CI_Citation/title/CharacterString
0
1211
* def email = get response //electronicMailAddress/CharacterString
0
1212
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1213
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1214
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1215
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1216
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1217
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1218
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1219
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1220
* print organisationpath
0
10:30:42.246 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1221
* print operateson
0
10:30:42.246 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
1222
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1223
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1224
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.35:18]42da491e-d8b9-47ba-af65-acb15ea8a055
ms: 356
>>
Background:
1225
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1226
* def mystorage = Java.type('storage.DataStorage')
1
1227
* def db = new mystorage
1
1228
* def db = db.setfeature(karate.info.featureFileName)
2
1229
* def separator = java.lang.System.getProperty("file.separator")
2
1230
* def outputpath = db.outputpath()
1
1231
* eval db.ensureDirectory(outputpath)
1
1232
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1233
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1234
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1235
Given path 'geonetwork/srv/dut/inspire'
1
1236
And param service = 'CSW'
0
1237
And param version = '2.0.2'
0
1238
And param request = 'GetRecordById'
0
1239
And param id = '42da491e-d8b9-47ba-af65-acb15ea8a055'
2
1240
And param elementsetname = 'full'
0
1241
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1242
When method get
342
1243
Then status 200
0
1244
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42da491e-d8b9-47ba-af65-acb15ea8a055'
1
1245
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1246
* def title = get response //citation/CI_Citation/title/CharacterString
0
1247
* def email = get response //electronicMailAddress/CharacterString
0
1248
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1249
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1250
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1251
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1252
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1253
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1254
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1255
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1256
* print organisationpath
0
10:30:42.311 [print]
1257
* print operateson
0
10:30:42.311 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1258
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1259
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1260
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.36:18]d7bc97fa-6b4a-4321-a7c4-cd621bc0be77
ms: 325
>>
Background:
1261
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1262
* def mystorage = Java.type('storage.DataStorage')
1
1263
* def db = new mystorage
1
1264
* def db = db.setfeature(karate.info.featureFileName)
2
1265
* def separator = java.lang.System.getProperty("file.separator")
2
1266
* def outputpath = db.outputpath()
1
1267
* eval db.ensureDirectory(outputpath)
1
1268
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1269
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1270
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1271
Given path 'geonetwork/srv/dut/inspire'
1
1272
And param service = 'CSW'
0
1273
And param version = '2.0.2'
0
1274
And param request = 'GetRecordById'
0
1275
And param id = 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
1
1276
And param elementsetname = 'full'
0
1277
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1278
When method get
308
1279
Then status 200
0
1280
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
1
1281
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1282
* def title = get response //citation/CI_Citation/title/CharacterString
0
1283
* def email = get response //electronicMailAddress/CharacterString
0
1284
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1285
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1286
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1287
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1288
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1289
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
1290
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1291
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1292
* print organisationpath
0
10:30:42.359 [print] Beheer PDOK
1293
* print operateson
0
10:30:42.359 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
1294
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1295
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1296
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.37:18]f1dadc2c-6de2-415a-a2b7-aaf057ddda43
ms: 316
>>
Background:
1297
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1298
* def mystorage = Java.type('storage.DataStorage')
1
1299
* def db = new mystorage
1
1300
* def db = db.setfeature(karate.info.featureFileName)
2
1301
* def separator = java.lang.System.getProperty("file.separator")
2
1302
* def outputpath = db.outputpath()
1
1303
* eval db.ensureDirectory(outputpath)
1
1304
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1305
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1306
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1307
Given path 'geonetwork/srv/dut/inspire'
1
1308
And param service = 'CSW'
0
1309
And param version = '2.0.2'
0
1310
And param request = 'GetRecordById'
0
1311
And param id = 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
0
1312
And param elementsetname = 'full'
0
1313
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1314
When method get
303
1315
Then status 200
0
1316
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
1
1317
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1318
* def title = get response //citation/CI_Citation/title/CharacterString
0
1319
* def email = get response //electronicMailAddress/CharacterString
0
1320
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1321
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1322
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1323
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1324
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1325
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1326
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1327
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1328
* print organisationpath
0
10:30:42.392 [print] Beheer PDOK
1329
* print operateson
0
10:30:42.392 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
1330
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1331
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1332
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.38:18]c7dad4b9-42a8-452f-a33b-d4938ed22142
ms: 291
>>
Background:
1333
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1334
* def mystorage = Java.type('storage.DataStorage')
1
1335
* def db = new mystorage
1
1336
* def db = db.setfeature(karate.info.featureFileName)
2
1337
* def separator = java.lang.System.getProperty("file.separator")
2
1338
* def outputpath = db.outputpath()
1
1339
* eval db.ensureDirectory(outputpath)
1
1340
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1341
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1342
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1343
Given path 'geonetwork/srv/dut/inspire'
1
1344
And param service = 'CSW'
0
1345
And param version = '2.0.2'
0
1346
And param request = 'GetRecordById'
0
1347
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
1
1348
And param elementsetname = 'full'
0
1349
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1350
When method get
279
1351
Then status 200
0
1352
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
1
1353
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1354
* def title = get response //citation/CI_Citation/title/CharacterString
0
1355
* def email = get response //electronicMailAddress/CharacterString
0
1356
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
1357
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1358
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1359
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1360
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1361
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1362
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1363
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1364
* print organisationpath
0
10:30:42.539 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1365
* print operateson
0
10:30:42.539 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
1366
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1367
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1368
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.39:18]2dd6c9df-bb47-40eb-af39-2d17f09b9bb9
ms: 304
>>
Background:
1369
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1370
* def mystorage = Java.type('storage.DataStorage')
1
1371
* def db = new mystorage
1
1372
* def db = db.setfeature(karate.info.featureFileName)
2
1373
* def separator = java.lang.System.getProperty("file.separator")
2
1374
* def outputpath = db.outputpath()
1
1375
* eval db.ensureDirectory(outputpath)
1
1376
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1377
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1378
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1379
Given path 'geonetwork/srv/dut/inspire'
1
1380
And param service = 'CSW'
0
1381
And param version = '2.0.2'
0
1382
And param request = 'GetRecordById'
0
1383
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
1
1384
And param elementsetname = 'full'
0
1385
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1386
When method get
291
1387
Then status 200
0
1388
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
1
1389
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1390
* def title = get response //citation/CI_Citation/title/CharacterString
0
1391
* def email = get response //electronicMailAddress/CharacterString
0
1392
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1393
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1394
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1395
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1396
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1397
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1398
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1399
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1400
* print organisationpath
0
10:30:42.614 [print] TNO Geologische Dienst Nederland
1401
* print operateson
0
10:30:42.615 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1402
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1403
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1404
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.40:18]77971fa3-f869-4726-969a-482e0b1a8c5d
ms: 303
>>
Background:
1405
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1406
* def mystorage = Java.type('storage.DataStorage')
1
1407
* def db = new mystorage
1
1408
* def db = db.setfeature(karate.info.featureFileName)
2
1409
* def separator = java.lang.System.getProperty("file.separator")
2
1410
* def outputpath = db.outputpath()
1
1411
* eval db.ensureDirectory(outputpath)
1
1412
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1413
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1414
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1415
Given path 'geonetwork/srv/dut/inspire'
1
1416
And param service = 'CSW'
0
1417
And param version = '2.0.2'
0
1418
And param request = 'GetRecordById'
0
1419
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d'
0
1420
And param elementsetname = 'full'
0
1421
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1422
When method get
291
1423
Then status 200
0
1424
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d'
1
1425
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1426
* def title = get response //citation/CI_Citation/title/CharacterString
0
1427
* def email = get response //electronicMailAddress/CharacterString
0
1428
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
1429
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1430
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1431
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1432
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1433
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1434
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1435
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1436
* print organisationpath
0
10:30:42.665 [print] TNO Geologische Dienst Nederland
1437
* print operateson
0
10:30:42.665 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1438
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1439
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1440
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.41:18]97b49056-8ace-426c-ae3e-bf7efe4c000f
ms: 315
>>
Background:
1441
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1442
* def mystorage = Java.type('storage.DataStorage')
1
1443
* def db = new mystorage
1
1444
* def db = db.setfeature(karate.info.featureFileName)
2
1445
* def separator = java.lang.System.getProperty("file.separator")
2
1446
* def outputpath = db.outputpath()
1
1447
* eval db.ensureDirectory(outputpath)
1
1448
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1449
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1450
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1451
Given path 'geonetwork/srv/dut/inspire'
1
1452
And param service = 'CSW'
0
1453
And param version = '2.0.2'
0
1454
And param request = 'GetRecordById'
0
1455
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f'
1
1456
And param elementsetname = 'full'
0
1457
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1458
When method get
303
1459
Then status 200
0
1460
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f'
1
1461
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1462
* def title = get response //citation/CI_Citation/title/CharacterString
0
1463
* def email = get response //electronicMailAddress/CharacterString
0
1464
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1465
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1466
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1467
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1468
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1469
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1470
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1471
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1472
* print organisationpath
0
10:30:42.708 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1473
* print operateson
0
10:30:42.708 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1474
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1475
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1476
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.42:18]73286af2-d0f4-4a62-9455-86ffa45ef279
ms: 291
>>
Background:
1477
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1478
* def mystorage = Java.type('storage.DataStorage')
1
1479
* def db = new mystorage
1
1480
* def db = db.setfeature(karate.info.featureFileName)
2
1481
* def separator = java.lang.System.getProperty("file.separator")
2
1482
* def outputpath = db.outputpath()
1
1483
* eval db.ensureDirectory(outputpath)
1
1484
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1485
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1486
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1487
Given path 'geonetwork/srv/dut/inspire'
1
1488
And param service = 'CSW'
0
1489
And param version = '2.0.2'
0
1490
And param request = 'GetRecordById'
0
1491
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
1492
And param elementsetname = 'full'
0
1493
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1494
When method get
278
1495
Then status 200
0
1496
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
1497
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1498
* def title = get response //citation/CI_Citation/title/CharacterString
0
1499
* def email = get response //electronicMailAddress/CharacterString
0
1500
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1501
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1502
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1503
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1504
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1505
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1506
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1507
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1508
* print organisationpath
0
10:30:42.830 [print] TNO Geologische Dienst Nederland
1509
* print operateson
0
10:30:42.830 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1510
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1511
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1512
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.43:18]702060c1-b3fd-44ec-8cc6-d4249d150110
ms: 295
>>
Background:
1513
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1514
* def mystorage = Java.type('storage.DataStorage')
1
1515
* def db = new mystorage
1
1516
* def db = db.setfeature(karate.info.featureFileName)
2
1517
* def separator = java.lang.System.getProperty("file.separator")
2
1518
* def outputpath = db.outputpath()
1
1519
* eval db.ensureDirectory(outputpath)
1
1520
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1521
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1522
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1523
Given path 'geonetwork/srv/dut/inspire'
1
1524
And param service = 'CSW'
0
1525
And param version = '2.0.2'
0
1526
And param request = 'GetRecordById'
0
1527
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110'
1
1528
And param elementsetname = 'full'
0
1529
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1530
When method get
282
1531
Then status 200
0
1532
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110'
1
1533
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1534
* def title = get response //citation/CI_Citation/title/CharacterString
1
1535
* def email = get response //electronicMailAddress/CharacterString
0
1536
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1537
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1538
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1539
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1540
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1541
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1542
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1543
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1544
* print organisationpath
0
10:30:42.910 [print] Interprovinciaal Overleg
1545
* print operateson
0
10:30:42.910 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1546
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1547
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1548
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.44:18]00e8746f-5031-413e-8343-9203c8ea82ee
ms: 300
>>
Background:
1549
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1550
* def mystorage = Java.type('storage.DataStorage')
1
1551
* def db = new mystorage
1
1552
* def db = db.setfeature(karate.info.featureFileName)
2
1553
* def separator = java.lang.System.getProperty("file.separator")
2
1554
* def outputpath = db.outputpath()
1
1555
* eval db.ensureDirectory(outputpath)
1
1556
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1557
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1558
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1559
Given path 'geonetwork/srv/dut/inspire'
1
1560
And param service = 'CSW'
0
1561
And param version = '2.0.2'
0
1562
And param request = 'GetRecordById'
0
1563
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee'
1
1564
And param elementsetname = 'full'
0
1565
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1566
When method get
286
1567
Then status 200
0
1568
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee'
1
1569
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1570
* def title = get response //citation/CI_Citation/title/CharacterString
0
1571
* def email = get response //electronicMailAddress/CharacterString
0
1572
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1573
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1574
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1575
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1576
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1577
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1578
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1579
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1580
* print organisationpath
0
10:30:42.965 [print] Interprovinciaal Overleg
1581
* print operateson
0
10:30:42.965 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
1582
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1583
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1584
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.45:18]e29b19de-d191-47f2-b944-5056a7674cce
ms: 312
>>
Background:
1585
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1586
* def mystorage = Java.type('storage.DataStorage')
1
1587
* def db = new mystorage
1
1588
* def db = db.setfeature(karate.info.featureFileName)
2
1589
* def separator = java.lang.System.getProperty("file.separator")
2
1590
* def outputpath = db.outputpath()
1
1591
* eval db.ensureDirectory(outputpath)
1
1592
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1593
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1594
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1595
Given path 'geonetwork/srv/dut/inspire'
1
1596
And param service = 'CSW'
0
1597
And param version = '2.0.2'
0
1598
And param request = 'GetRecordById'
0
1599
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce'
1
1600
And param elementsetname = 'full'
0
1601
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1602
When method get
299
1603
Then status 200
0
1604
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce'
1
1605
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1606
* def title = get response //citation/CI_Citation/title/CharacterString
0
1607
* def email = get response //electronicMailAddress/CharacterString
0
1608
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
1609
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1610
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1611
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1612
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1613
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1614
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1615
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1616
* print organisationpath
0
10:30:43.021 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1617
* print operateson
0
10:30:43.021 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
1618
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1619
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1620
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.46:18]0bb27a13-76f1-4374-8d44-76e937198e8d
ms: 291
>>
Background:
1621
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1622
* def mystorage = Java.type('storage.DataStorage')
1
1623
* def db = new mystorage
1
1624
* def db = db.setfeature(karate.info.featureFileName)
2
1625
* def separator = java.lang.System.getProperty("file.separator")
2
1626
* def outputpath = db.outputpath()
1
1627
* eval db.ensureDirectory(outputpath)
1
1628
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1629
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1630
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1631
Given path 'geonetwork/srv/dut/inspire'
1
1632
And param service = 'CSW'
0
1633
And param version = '2.0.2'
0
1634
And param request = 'GetRecordById'
0
1635
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
1636
And param elementsetname = 'full'
0
1637
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1638
When method get
274
1639
Then status 200
0
1640
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
1641
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1642
* def title = get response //citation/CI_Citation/title/CharacterString
0
1643
* def email = get response //electronicMailAddress/CharacterString
0
1644
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1645
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1646
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1647
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1648
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1649
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
1650
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1651
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1652
* print organisationpath
0
10:30:43.122 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1653
* print operateson
0
10:30:43.122 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1654
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1655
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
1656
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.47:18]tbjk534p-wubf-crbp-cj25-d41611f0gfim
ms: 308
>>
Background:
1657
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1658
* def mystorage = Java.type('storage.DataStorage')
1
1659
* def db = new mystorage
1
1660
* def db = db.setfeature(karate.info.featureFileName)
2
1661
* def separator = java.lang.System.getProperty("file.separator")
2
1662
* def outputpath = db.outputpath()
1
1663
* eval db.ensureDirectory(outputpath)
1
1664
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1665
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1666
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1667
Given path 'geonetwork/srv/dut/inspire'
1
1668
And param service = 'CSW'
0
1669
And param version = '2.0.2'
0
1670
And param request = 'GetRecordById'
0
1671
And param id = 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
1
1672
And param elementsetname = 'full'
0
1673
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1674
When method get
291
1675
Then status 200
0
1676
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
1
1677
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1678
* def title = get response //citation/CI_Citation/title/CharacterString
1
1679
* def email = get response //electronicMailAddress/CharacterString
1
1680
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1681
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1682
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1683
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1684
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1685
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1686
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1687
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1688
* print organisationpath
0
10:30:43.218 [print] Rijkswaterstaat
1689
* print operateson
0
10:30:43.218 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1690
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1691
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1692
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.48:18]dda53ebc-bee7-4765-8f1f-6ac59b0aec39
ms: 295
>>
Background:
1693
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1694
* def mystorage = Java.type('storage.DataStorage')
1
1695
* def db = new mystorage
1
1696
* def db = db.setfeature(karate.info.featureFileName)
2
1697
* def separator = java.lang.System.getProperty("file.separator")
2
1698
* def outputpath = db.outputpath()
1
1699
* eval db.ensureDirectory(outputpath)
1
1700
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1701
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1702
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1703
Given path 'geonetwork/srv/dut/inspire'
5
1704
And param service = 'CSW'
0
1705
And param version = '2.0.2'
0
1706
And param request = 'GetRecordById'
0
1707
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
1
1708
And param elementsetname = 'full'
0
1709
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1710
When method get
277
1711
Then status 200
0
1712
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
1
1713
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1714
* def title = get response //citation/CI_Citation/title/CharacterString
0
1715
* def email = get response //electronicMailAddress/CharacterString
1
1716
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1717
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1718
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1719
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1720
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1721
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1722
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1723
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1724
* print organisationpath
0
10:30:43.260 [print] TNO Geologische Dienst Nederland
1725
* print operateson
0
10:30:43.261 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1726
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1727
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1728
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.49:18]7dc30aed-0940-4e69-b34c-9f24b34078eb
ms: 300
>>
Background:
1729
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1730
* def mystorage = Java.type('storage.DataStorage')
1
1731
* def db = new mystorage
1
1732
* def db = db.setfeature(karate.info.featureFileName)
2
1733
* def separator = java.lang.System.getProperty("file.separator")
2
1734
* def outputpath = db.outputpath()
1
1735
* eval db.ensureDirectory(outputpath)
1
1736
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1737
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1738
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1739
Given path 'geonetwork/srv/dut/inspire'
7
1740
And param service = 'CSW'
0
1741
And param version = '2.0.2'
0
1742
And param request = 'GetRecordById'
0
1743
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
1744
And param elementsetname = 'full'
0
1745
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1746
When method get
277
1747
Then status 200
0
1748
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
1749
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1750
* def title = get response //citation/CI_Citation/title/CharacterString
1
1751
* def email = get response //electronicMailAddress/CharacterString
1
1752
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
1753
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1754
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1755
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1756
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1757
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1758
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1759
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1760
* print organisationpath
0
10:30:43.322 [print] Rijksinstituut voor Volksgezondheid en Milieu
1761
* print operateson
0
10:30:43.322 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
1762
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1763
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1764
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.50:18]23aa5150-fcc7-46ea-ae63-a7f198d8bc18
ms: 291
>>
Background:
1765
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1766
* def mystorage = Java.type('storage.DataStorage')
1
1767
* def db = new mystorage
1
1768
* def db = db.setfeature(karate.info.featureFileName)
2
1769
* def separator = java.lang.System.getProperty("file.separator")
2
1770
* def outputpath = db.outputpath()
1
1771
* eval db.ensureDirectory(outputpath)
1
1772
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1773
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1774
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1775
Given path 'geonetwork/srv/dut/inspire'
1
1776
And param service = 'CSW'
0
1777
And param version = '2.0.2'
0
1778
And param request = 'GetRecordById'
0
1779
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
1
1780
And param elementsetname = 'full'
0
1781
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1782
When method get
276
1783
Then status 200
0
1784
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
1
1785
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1786
* def title = get response //citation/CI_Citation/title/CharacterString
0
1787
* def email = get response //electronicMailAddress/CharacterString
0
1788
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1789
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1790
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1791
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1792
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1793
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1794
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1795
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1796
* print organisationpath
0
10:30:43.412 [print] Rijksinstituut voor Volksgezondheid en Milieu
1797
* print operateson
0
10:30:43.412 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
1798
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1799
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1800
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.51:18]wt-f297898-2640-44c2-bbe9-c0480df83794
ms: 304
>>
Background:
1801
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1802
* def mystorage = Java.type('storage.DataStorage')
1
1803
* def db = new mystorage
1
1804
* def db = db.setfeature(karate.info.featureFileName)
2
1805
* def separator = java.lang.System.getProperty("file.separator")
2
1806
* def outputpath = db.outputpath()
1
1807
* eval db.ensureDirectory(outputpath)
1
1808
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1809
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1810
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1811
Given path 'geonetwork/srv/dut/inspire'
1
1812
And param service = 'CSW'
0
1813
And param version = '2.0.2'
0
1814
And param request = 'GetRecordById'
0
1815
And param id = 'wt-f297898-2640-44c2-bbe9-c0480df83794'
1
1816
And param elementsetname = 'full'
0
1817
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1818
When method get
286
1819
Then status 200
0
1820
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480df83794'
1
1821
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1822
* def title = get response //citation/CI_Citation/title/CharacterString
1
1823
* def email = get response //electronicMailAddress/CharacterString
1
1824
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1825
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1826
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1827
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1828
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1829
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1830
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1831
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1832
* print organisationpath
0
10:30:43.520 [print] Rijkswaterstaat
1833
* print operateson
0
10:30:43.520 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
1834
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1835
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1836
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.52:18]dd414384-0bcb-4188-86e2-2843e12a579e
ms: 312
>>
Background:
1837
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1838
* def mystorage = Java.type('storage.DataStorage')
1
1839
* def db = new mystorage
1
1840
* def db = db.setfeature(karate.info.featureFileName)
2
1841
* def separator = java.lang.System.getProperty("file.separator")
2
1842
* def outputpath = db.outputpath()
1
1843
* eval db.ensureDirectory(outputpath)
1
1844
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1845
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1846
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1847
Given path 'geonetwork/srv/dut/inspire'
0
1848
And param service = 'CSW'
0
1849
And param version = '2.0.2'
0
1850
And param request = 'GetRecordById'
0
1851
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e'
0
1852
And param elementsetname = 'full'
0
1853
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1854
When method get
282
1855
Then status 200
0
1856
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e'
1
1857
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1858
* def title = get response //citation/CI_Citation/title/CharacterString
1
1859
* def email = get response //electronicMailAddress/CharacterString
0
1860
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
1861
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1862
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1863
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1864
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
1865
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1866
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1867
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1868
* print organisationpath
7
10:30:43.569 [print] TNO Geologische Dienst Nederland
1869
* print operateson
0
10:30:43.569 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1870
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1871
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1872
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.53:18]wt-f5eb-b09f-4f6d-8397-8878a1m86238
ms: 303
>>
Background:
1873
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1874
* def mystorage = Java.type('storage.DataStorage')
1
1875
* def db = new mystorage
1
1876
* def db = db.setfeature(karate.info.featureFileName)
2
1877
* def separator = java.lang.System.getProperty("file.separator")
2
1878
* def outputpath = db.outputpath()
1
1879
* eval db.ensureDirectory(outputpath)
1
1880
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1881
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1882
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1883
Given path 'geonetwork/srv/dut/inspire'
1
1884
And param service = 'CSW'
0
1885
And param version = '2.0.2'
0
1886
And param request = 'GetRecordById'
0
1887
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
1
1888
And param elementsetname = 'full'
0
1889
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1890
When method get
290
1891
Then status 200
0
1892
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
1
1893
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1894
* def title = get response //citation/CI_Citation/title/CharacterString
0
1895
* def email = get response //electronicMailAddress/CharacterString
1
1896
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1897
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1898
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1899
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1900
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1901
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1902
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1903
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1904
* print organisationpath
0
10:30:43.626 [print] Rijkswaterstaat
1905
* print operateson
0
10:30:43.626 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
1906
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1907
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1908
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.54:18]5be1b57b-2cac-4119-92eb-700346543d47
ms: 293
>>
Background:
1909
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1910
* def mystorage = Java.type('storage.DataStorage')
1
1911
* def db = new mystorage
1
1912
* def db = db.setfeature(karate.info.featureFileName)
2
1913
* def separator = java.lang.System.getProperty("file.separator")
2
1914
* def outputpath = db.outputpath()
1
1915
* eval db.ensureDirectory(outputpath)
1
1916
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1917
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1918
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1919
Given path 'geonetwork/srv/dut/inspire'
1
1920
And param service = 'CSW'
0
1921
And param version = '2.0.2'
0
1922
And param request = 'GetRecordById'
1
1923
And param id = '5be1b57b-2cac-4119-92eb-700346543d47'
6
1924
And param elementsetname = 'full'
0
1925
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1926
When method get
275
1927
Then status 200
0
1928
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47'
1
1929
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1930
* def title = get response //citation/CI_Citation/title/CharacterString
0
1931
* def email = get response //electronicMailAddress/CharacterString
0
1932
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1933
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1934
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1935
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1936
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1937
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1938
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1939
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1940
* print organisationpath
0
10:30:43.710 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1941
* print operateson
0
10:30:43.710 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1942
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1943
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1944
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.55:18]tn-2c7040b-c448-451b-bf15-f2416efaadd1
ms: 304
>>
Background:
1945
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1946
* def mystorage = Java.type('storage.DataStorage')
1
1947
* def db = new mystorage
1
1948
* def db = db.setfeature(karate.info.featureFileName)
2
1949
* def separator = java.lang.System.getProperty("file.separator")
2
1950
* def outputpath = db.outputpath()
1
1951
* eval db.ensureDirectory(outputpath)
1
1952
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1953
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1954
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1955
Given path 'geonetwork/srv/dut/inspire'
1
1956
And param service = 'CSW'
0
1957
And param version = '2.0.2'
0
1958
And param request = 'GetRecordById'
0
1959
And param id = 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
1
1960
And param elementsetname = 'full'
0
1961
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1962
When method get
287
1963
Then status 200
0
1964
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
1
1965
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1966
* def title = get response //citation/CI_Citation/title/CharacterString
1
1967
* def email = get response //electronicMailAddress/CharacterString
1
1968
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
1969
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1970
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1971
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1972
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1973
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1974
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1975
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1976
* print organisationpath
0
10:30:43.835 [print] Rijkswaterstaat
1977
* print operateson
0
10:30:43.835 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
1978
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1979
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1980
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.56:18]a8ad0d7d-ea9e-4261-bc92-772e99a41387
ms: 297
>>
Background:
1981
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
1982
* def mystorage = Java.type('storage.DataStorage')
1
1983
* def db = new mystorage
1
1984
* def db = db.setfeature(karate.info.featureFileName)
2
1985
* def separator = java.lang.System.getProperty("file.separator")
2
1986
* def outputpath = db.outputpath()
1
1987
* eval db.ensureDirectory(outputpath)
1
1988
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1989
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1990
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1991
Given path 'geonetwork/srv/dut/inspire'
1
1992
And param service = 'CSW'
0
1993
And param version = '2.0.2'
0
1994
And param request = 'GetRecordById'
0
1995
And param id = 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
0
1996
And param elementsetname = 'full'
0
1997
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1998
When method get
285
1999
Then status 200
0
2000
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
2001
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2002
* def title = get response //citation/CI_Citation/title/CharacterString
0
2003
* def email = get response //electronicMailAddress/CharacterString
0
2004
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2005
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2006
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2007
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2008
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2009
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2010
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2011
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2012
* print organisationpath
0
10:30:43.872 [print] Beheer PDOK
2013
* print operateson
1
10:30:43.873 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
2014
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2015
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2016
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.57:18]17ad94f6-4961-448b-a6f5-5368b7870409
ms: 296
>>
Background:
2017
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2018
* def mystorage = Java.type('storage.DataStorage')
1
2019
* def db = new mystorage
1
2020
* def db = db.setfeature(karate.info.featureFileName)
2
2021
* def separator = java.lang.System.getProperty("file.separator")
2
2022
* def outputpath = db.outputpath()
1
2023
* eval db.ensureDirectory(outputpath)
1
2024
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2025
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2026
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2027
Given path 'geonetwork/srv/dut/inspire'
0
2028
And param service = 'CSW'
0
2029
And param version = '2.0.2'
0
2030
And param request = 'GetRecordById'
0
2031
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409'
1
2032
And param elementsetname = 'full'
0
2033
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2034
When method get
282
2035
Then status 200
0
2036
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409'
1
2037
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2038
* def title = get response //citation/CI_Citation/title/CharacterString
0
2039
* def email = get response //electronicMailAddress/CharacterString
0
2040
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2041
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2042
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2043
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2044
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2045
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2046
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2047
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2048
* print organisationpath
0
10:30:43.920 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2049
* print operateson
0
10:30:43.920 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
2050
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2051
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2052
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.58:18]82fa284e-8218-40e4-a593-c2f8a832c3d5
ms: 298
>>
Background:
2053
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2054
* def mystorage = Java.type('storage.DataStorage')
1
2055
* def db = new mystorage
1
2056
* def db = db.setfeature(karate.info.featureFileName)
2
2057
* def separator = java.lang.System.getProperty("file.separator")
2
2058
* def outputpath = db.outputpath()
1
2059
* eval db.ensureDirectory(outputpath)
1
2060
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2061
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2062
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2063
Given path 'geonetwork/srv/dut/inspire'
1
2064
And param service = 'CSW'
0
2065
And param version = '2.0.2'
0
2066
And param request = 'GetRecordById'
0
2067
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5'
1
2068
And param elementsetname = 'full'
0
2069
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2070
When method get
286
2071
Then status 200
0
2072
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5'
1
2073
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2074
* def title = get response //citation/CI_Citation/title/CharacterString
0
2075
* def email = get response //electronicMailAddress/CharacterString
0
2076
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2077
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2078
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2079
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2080
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2081
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2082
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2083
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2084
* print organisationpath
0
10:30:44.009 [print] TNO Geologische Dienst Nederland
2085
* print operateson
0
10:30:44.009 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2086
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2087
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2088
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.59:18]060d1139-c371-4c1e-9890-55999adfa4f9
ms: 289
>>
Background:
2089
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2090
* def mystorage = Java.type('storage.DataStorage')
1
2091
* def db = new mystorage
1
2092
* def db = db.setfeature(karate.info.featureFileName)
2
2093
* def separator = java.lang.System.getProperty("file.separator")
2
2094
* def outputpath = db.outputpath()
1
2095
* eval db.ensureDirectory(outputpath)
1
2096
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2097
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2098
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2099
Given path 'geonetwork/srv/dut/inspire'
1
2100
And param service = 'CSW'
0
2101
And param version = '2.0.2'
0
2102
And param request = 'GetRecordById'
0
2103
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9'
1
2104
And param elementsetname = 'full'
0
2105
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2106
When method get
278
2107
Then status 200
0
2108
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9'
1
2109
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2110
* def title = get response //citation/CI_Citation/title/CharacterString
0
2111
* def email = get response //electronicMailAddress/CharacterString
0
2112
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2113
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2114
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2115
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2116
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2117
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2118
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2119
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2120
* print organisationpath
0
10:30:44.125 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2121
* print operateson
0
10:30:44.125 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
2122
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2123
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2124
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.60:18]fa3ecd49-4571-4eb3-84f3-2865f42934b2
ms: 309
>>
Background:
2125
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2126
* def mystorage = Java.type('storage.DataStorage')
1
2127
* def db = new mystorage
1
2128
* def db = db.setfeature(karate.info.featureFileName)
2
2129
* def separator = java.lang.System.getProperty("file.separator")
2
2130
* def outputpath = db.outputpath()
1
2131
* eval db.ensureDirectory(outputpath)
1
2132
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2133
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2134
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2135
Given path 'geonetwork/srv/dut/inspire'
0
2136
And param service = 'CSW'
0
2137
And param version = '2.0.2'
0
2138
And param request = 'GetRecordById'
0
2139
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
0
2140
And param elementsetname = 'full'
0
2141
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2142
When method get
297
2143
Then status 200
0
2144
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
1
2145
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2146
* def title = get response //citation/CI_Citation/title/CharacterString
1
2147
* def email = get response //electronicMailAddress/CharacterString
1
2148
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2149
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2150
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2151
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2152
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2153
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2154
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2155
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2156
* print organisationpath
0
10:30:44.183 [print] TNO Geologische Dienst Nederland
2157
* print operateson
0
10:30:44.183 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2158
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2159
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2160
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.61:18]0426f471-f325-42ed-a775-81c397592e86
ms: 302
>>
Background:
2161
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2162
* def mystorage = Java.type('storage.DataStorage')
1
2163
* def db = new mystorage
1
2164
* def db = db.setfeature(karate.info.featureFileName)
2
2165
* def separator = java.lang.System.getProperty("file.separator")
2
2166
* def outputpath = db.outputpath()
1
2167
* eval db.ensureDirectory(outputpath)
1
2168
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2169
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2170
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2171
Given path 'geonetwork/srv/dut/inspire'
1
2172
And param service = 'CSW'
0
2173
And param version = '2.0.2'
0
2174
And param request = 'GetRecordById'
0
2175
And param id = '0426f471-f325-42ed-a775-81c397592e86'
1
2176
And param elementsetname = 'full'
0
2177
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2178
When method get
289
2179
Then status 200
0
2180
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86'
1
2181
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2182
* def title = get response //citation/CI_Citation/title/CharacterString
1
2183
* def email = get response //electronicMailAddress/CharacterString
0
2184
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2185
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2186
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2187
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2188
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2189
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2190
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2191
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2192
* print organisationpath
0
10:30:44.226 [print] Rijksinstituut voor Volksgezondheid en Milieu
2193
* print operateson
0
10:30:44.226 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
2194
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2195
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2196
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.62:18]542b330b-d3c6-4617-b97f-693e5cfd1872
ms: 294
>>
Background:
2197
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2198
* def mystorage = Java.type('storage.DataStorage')
1
2199
* def db = new mystorage
1
2200
* def db = db.setfeature(karate.info.featureFileName)
2
2201
* def separator = java.lang.System.getProperty("file.separator")
2
2202
* def outputpath = db.outputpath()
1
2203
* eval db.ensureDirectory(outputpath)
1
2204
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2205
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2206
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2207
Given path 'geonetwork/srv/dut/inspire'
0
2208
And param service = 'CSW'
0
2209
And param version = '2.0.2'
0
2210
And param request = 'GetRecordById'
0
2211
And param id = '542b330b-d3c6-4617-b97f-693e5cfd1872'
1
2212
And param elementsetname = 'full'
0
2213
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2214
When method get
282
2215
Then status 200
0
2216
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '542b330b-d3c6-4617-b97f-693e5cfd1872'
1
2217
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2218
* def title = get response //citation/CI_Citation/title/CharacterString
0
2219
* def email = get response //electronicMailAddress/CharacterString
0
2220
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2221
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2222
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2223
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2224
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2225
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2226
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2227
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2228
* print organisationpath
0
10:30:44.304 [print] TNO Geologische Dienst Nederland
2229
* print operateson
0
10:30:44.304 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2230
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2231
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2232
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.63:18]ca71572f-a498-4ca6-aa60-d4c4c4d59e2e
ms: 294
>>
Background:
2233
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2234
* def mystorage = Java.type('storage.DataStorage')
1
2235
* def db = new mystorage
1
2236
* def db = db.setfeature(karate.info.featureFileName)
2
2237
* def separator = java.lang.System.getProperty("file.separator")
2
2238
* def outputpath = db.outputpath()
1
2239
* eval db.ensureDirectory(outputpath)
1
2240
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2241
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2242
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2243
Given path 'geonetwork/srv/dut/inspire'
1
2244
And param service = 'CSW'
0
2245
And param version = '2.0.2'
0
2246
And param request = 'GetRecordById'
0
2247
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
2248
And param elementsetname = 'full'
0
2249
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2250
When method get
283
2251
Then status 200
0
2252
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
2253
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2254
* def title = get response //citation/CI_Citation/title/CharacterString
0
2255
* def email = get response //electronicMailAddress/CharacterString
0
2256
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2257
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2258
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2259
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2260
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2261
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2262
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2263
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2264
* print organisationpath
0
10:30:44.420 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2265
* print operateson
0
10:30:44.420 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
2266
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2267
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2268
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.64:18]73914696-dc43-11e3-bdbb-901b0e19e163
ms: 311
>>
Background:
2269
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2270
* def mystorage = Java.type('storage.DataStorage')
1
2271
* def db = new mystorage
1
2272
* def db = db.setfeature(karate.info.featureFileName)
2
2273
* def separator = java.lang.System.getProperty("file.separator")
2
2274
* def outputpath = db.outputpath()
1
2275
* eval db.ensureDirectory(outputpath)
1
2276
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2277
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2278
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2279
Given path 'geonetwork/srv/dut/inspire'
1
2280
And param service = 'CSW'
0
2281
And param version = '2.0.2'
0
2282
And param request = 'GetRecordById'
0
2283
And param id = '73914696-dc43-11e3-bdbb-901b0e19e163'
0
2284
And param elementsetname = 'full'
0
2285
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2286
When method get
299
2287
Then status 200
0
2288
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73914696-dc43-11e3-bdbb-901b0e19e163'
1
2289
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2290
* def title = get response //citation/CI_Citation/title/CharacterString
0
2291
* def email = get response //electronicMailAddress/CharacterString
0
2292
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2293
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2294
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2295
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2296
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2297
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2298
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2299
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2300
* print organisationpath
0
10:30:44.494 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2301
* print operateson
0
10:30:44.494 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
2302
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2303
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2304
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.65:18]68505be5-45c4-4889-a82a-125043bbdc44
ms: 316
>>
Background:
2305
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2306
* def mystorage = Java.type('storage.DataStorage')
1
2307
* def db = new mystorage
1
2308
* def db = db.setfeature(karate.info.featureFileName)
2
2309
* def separator = java.lang.System.getProperty("file.separator")
2
2310
* def outputpath = db.outputpath()
1
2311
* eval db.ensureDirectory(outputpath)
1
2312
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2313
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2314
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2315
Given path 'geonetwork/srv/dut/inspire'
0
2316
And param service = 'CSW'
0
2317
And param version = '2.0.2'
0
2318
And param request = 'GetRecordById'
0
2319
And param id = '68505be5-45c4-4889-a82a-125043bbdc44'
1
2320
And param elementsetname = 'full'
0
2321
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2322
When method get
304
2323
Then status 200
0
2324
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68505be5-45c4-4889-a82a-125043bbdc44'
1
2325
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2326
* def title = get response //citation/CI_Citation/title/CharacterString
0
2327
* def email = get response //electronicMailAddress/CharacterString
0
2328
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2329
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2330
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2331
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2332
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2333
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2334
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2335
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2336
* print organisationpath
0
10:30:44.542 [print] TNO Geologische Dienst Nederland
2337
* print operateson
0
10:30:44.542 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2338
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2339
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2340
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.66:18]49ff0584-a173-4098-824c-119edf8447f7
ms: 293
>>
Background:
2341
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2342
* def mystorage = Java.type('storage.DataStorage')
1
2343
* def db = new mystorage
1
2344
* def db = db.setfeature(karate.info.featureFileName)
2
2345
* def separator = java.lang.System.getProperty("file.separator")
2
2346
* def outputpath = db.outputpath()
1
2347
* eval db.ensureDirectory(outputpath)
1
2348
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2349
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2350
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2351
Given path 'geonetwork/srv/dut/inspire'
0
2352
And param service = 'CSW'
0
2353
And param version = '2.0.2'
0
2354
And param request = 'GetRecordById'
0
2355
And param id = '49ff0584-a173-4098-824c-119edf8447f7'
1
2356
And param elementsetname = 'full'
0
2357
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2358
When method get
281
2359
Then status 200
0
2360
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7'
1
2361
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2362
* def title = get response //citation/CI_Citation/title/CharacterString
0
2363
* def email = get response //electronicMailAddress/CharacterString
0
2364
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2365
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2366
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2367
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2368
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2369
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2370
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2371
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2372
* print organisationpath
0
10:30:44.598 [print] Rijksdienst voor het Cultureel Erfgoed
2373
* print operateson
0
10:30:44.598 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
2374
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2375
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2376
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.67:18]68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2
ms: 320
>>
Background:
2377
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2378
* def mystorage = Java.type('storage.DataStorage')
1
2379
* def db = new mystorage
1
2380
* def db = db.setfeature(karate.info.featureFileName)
2
2381
* def separator = java.lang.System.getProperty("file.separator")
2
2382
* def outputpath = db.outputpath()
1
2383
* eval db.ensureDirectory(outputpath)
1
2384
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2385
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2386
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2387
Given path 'geonetwork/srv/dut/inspire'
1
2388
And param service = 'CSW'
0
2389
And param version = '2.0.2'
0
2390
And param request = 'GetRecordById'
0
2391
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
1
2392
And param elementsetname = 'full'
0
2393
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2394
When method get
307
2395
Then status 200
0
2396
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
1
2397
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2398
* def title = get response //citation/CI_Citation/title/CharacterString
1
2399
* def email = get response //electronicMailAddress/CharacterString
1
2400
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2401
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2402
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2403
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2404
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2405
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2406
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2407
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2408
* print organisationpath
0
10:30:44.741 [print] Rijkswaterstaat
2409
* print operateson
0
10:30:44.741 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2410
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2411
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2412
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.68:18]76342a6d-452e-4e21-b5c0-81ff7b1be90e
ms: 322
>>
Background:
2413
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2414
* def mystorage = Java.type('storage.DataStorage')
1
2415
* def db = new mystorage
1
2416
* def db = db.setfeature(karate.info.featureFileName)
2
2417
* def separator = java.lang.System.getProperty("file.separator")
2
2418
* def outputpath = db.outputpath()
1
2419
* eval db.ensureDirectory(outputpath)
1
2420
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2421
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2422
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2423
Given path 'geonetwork/srv/dut/inspire'
1
2424
And param service = 'CSW'
0
2425
And param version = '2.0.2'
0
2426
And param request = 'GetRecordById'
0
2427
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
2428
And param elementsetname = 'full'
0
2429
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2430
When method get
311
2431
Then status 200
0
2432
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
2433
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2434
* def title = get response //citation/CI_Citation/title/CharacterString
0
2435
* def email = get response //electronicMailAddress/CharacterString
0
2436
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2437
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2438
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2439
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2440
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2441
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2442
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2443
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2444
* print organisationpath
0
10:30:44.818 [print] TNO Geologische Dienst Nederland
2445
* print operateson
0
10:30:44.818 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2446
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2447
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2448
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.69:18]6d2fce74-fb25-4322-ab25-1be8a3bc7fd0
ms: 312
>>
Background:
2449
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2450
* def mystorage = Java.type('storage.DataStorage')
1
2451
* def db = new mystorage
1
2452
* def db = db.setfeature(karate.info.featureFileName)
2
2453
* def separator = java.lang.System.getProperty("file.separator")
2
2454
* def outputpath = db.outputpath()
1
2455
* eval db.ensureDirectory(outputpath)
1
2456
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2457
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2458
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2459
Given path 'geonetwork/srv/dut/inspire'
1
2460
And param service = 'CSW'
0
2461
And param version = '2.0.2'
0
2462
And param request = 'GetRecordById'
0
2463
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
1
2464
And param elementsetname = 'full'
0
2465
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2466
When method get
300
2467
Then status 200
0
2468
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
1
2469
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2470
* def title = get response //citation/CI_Citation/title/CharacterString
0
2471
* def email = get response //electronicMailAddress/CharacterString
0
2472
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2473
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2474
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2475
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2476
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2477
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2478
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2479
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2480
* print organisationpath
0
10:30:44.855 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2481
* print operateson
0
10:30:44.855 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
2482
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2483
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2484
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.70:18]cf69ec50-9849-4afd-853c-ee5621md336d
ms: 304
>>
Background:
2485
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2486
* def mystorage = Java.type('storage.DataStorage')
1
2487
* def db = new mystorage
1
2488
* def db = db.setfeature(karate.info.featureFileName)
2
2489
* def separator = java.lang.System.getProperty("file.separator")
2
2490
* def outputpath = db.outputpath()
1
2491
* eval db.ensureDirectory(outputpath)
1
2492
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2493
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2494
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2495
Given path 'geonetwork/srv/dut/inspire'
1
2496
And param service = 'CSW'
0
2497
And param version = '2.0.2'
0
2498
And param request = 'GetRecordById'
0
2499
And param id = 'cf69ec50-9849-4afd-853c-ee5621md336d'
1
2500
And param elementsetname = 'full'
0
2501
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2502
When method get
291
2503
Then status 200
0
2504
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621md336d'
1
2505
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2506
* def title = get response //citation/CI_Citation/title/CharacterString
1
2507
* def email = get response //electronicMailAddress/CharacterString
0
2508
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2509
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2510
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2511
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2512
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2513
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2514
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2515
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2516
* print organisationpath
0
10:30:44.902 [print] Rijkswaterstaat
2517
* print operateson
0
10:30:44.902 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2518
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2519
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2520
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.71:18]923a666c-ee4f-496c-8c85-94d5f81e1f30
ms: 294
>>
Background:
2521
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2522
* def mystorage = Java.type('storage.DataStorage')
1
2523
* def db = new mystorage
1
2524
* def db = db.setfeature(karate.info.featureFileName)
2
2525
* def separator = java.lang.System.getProperty("file.separator")
2
2526
* def outputpath = db.outputpath()
1
2527
* eval db.ensureDirectory(outputpath)
1
2528
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2529
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2530
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2531
Given path 'geonetwork/srv/dut/inspire'
0
2532
And param service = 'CSW'
0
2533
And param version = '2.0.2'
0
2534
And param request = 'GetRecordById'
0
2535
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30'
1
2536
And param elementsetname = 'full'
0
2537
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2538
When method get
282
2539
Then status 200
0
2540
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30'
1
2541
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2542
* def title = get response //citation/CI_Citation/title/CharacterString
0
2543
* def email = get response //electronicMailAddress/CharacterString
0
2544
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2545
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2546
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2547
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2548
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2549
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2550
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2551
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2552
* print organisationpath
0
10:30:45.035 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2553
* print operateson
0
10:30:45.036 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
2554
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2555
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2556
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.72:18]ddf33bff-8de3-4cca-b6f5-24d18daa502f
ms: 318
>>
Background:
2557
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2558
* def mystorage = Java.type('storage.DataStorage')
1
2559
* def db = new mystorage
1
2560
* def db = db.setfeature(karate.info.featureFileName)
2
2561
* def separator = java.lang.System.getProperty("file.separator")
2
2562
* def outputpath = db.outputpath()
1
2563
* eval db.ensureDirectory(outputpath)
1
2564
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2565
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2566
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2567
Given path 'geonetwork/srv/dut/inspire'
0
2568
And param service = 'CSW'
0
2569
And param version = '2.0.2'
0
2570
And param request = 'GetRecordById'
0
2571
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
0
2572
And param elementsetname = 'full'
0
2573
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2574
When method get
283
2575
Then status 200
0
2576
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
1
2577
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2578
* def title = get response //citation/CI_Citation/title/CharacterString
1
2579
* def email = get response //electronicMailAddress/CharacterString
0
2580
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2581
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
19
2582
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2583
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2584
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2585
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2586
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2587
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2588
* print organisationpath
0
10:30:45.132 [print] Beheer PDOK
2589
* print operateson
0
10:30:45.132 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification" ]
2590
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2591
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2592
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.73:18]c21c6bf5-8899-4b46-8986-0f65eca05ed0
ms: 317
>>
Background:
2593
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2594
* def mystorage = Java.type('storage.DataStorage')
1
2595
* def db = new mystorage
1
2596
* def db = db.setfeature(karate.info.featureFileName)
2
2597
* def separator = java.lang.System.getProperty("file.separator")
2
2598
* def outputpath = db.outputpath()
1
2599
* eval db.ensureDirectory(outputpath)
1
2600
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2601
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2602
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2603
Given path 'geonetwork/srv/dut/inspire'
1
2604
And param service = 'CSW'
0
2605
And param version = '2.0.2'
0
2606
And param request = 'GetRecordById'
0
2607
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
0
2608
And param elementsetname = 'full'
0
2609
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2610
When method get
297
2611
Then status 200
0
2612
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
1
2613
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2614
* def title = get response //citation/CI_Citation/title/CharacterString
0
2615
* def email = get response //electronicMailAddress/CharacterString
1
2616
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2617
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2618
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2619
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2620
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2621
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2622
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2623
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2624
* print organisationpath
0
10:30:45.164 [print] Beheer PDOK
2625
* print operateson
0
10:30:45.165 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification" ]
2626
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
5
2627
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2628
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.74:18]wt-3730-e750-485a-9c0c-39bf9bt72cf9
ms: 300
>>
Background:
2629
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2630
* def mystorage = Java.type('storage.DataStorage')
1
2631
* def db = new mystorage
1
2632
* def db = db.setfeature(karate.info.featureFileName)
2
2633
* def separator = java.lang.System.getProperty("file.separator")
2
2634
* def outputpath = db.outputpath()
1
2635
* eval db.ensureDirectory(outputpath)
1
2636
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2637
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2638
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2639
Given path 'geonetwork/srv/dut/inspire'
0
2640
And param service = 'CSW'
0
2641
And param version = '2.0.2'
0
2642
And param request = 'GetRecordById'
0
2643
And param id = 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
0
2644
And param elementsetname = 'full'
0
2645
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2646
When method get
288
2647
Then status 200
0
2648
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
1
2649
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2650
* def title = get response //citation/CI_Citation/title/CharacterString
0
2651
* def email = get response //electronicMailAddress/CharacterString
0
2652
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2653
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2654
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2655
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2656
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2657
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2658
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2659
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2660
* print organisationpath
0
10:30:45.204 [print] Rijkswaterstaat
2661
* print operateson
0
10:30:45.204 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
2662
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2663
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2664
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.75:18]f5660ac6-8031-4acc-832c-1d1b82b062ba
ms: 284
>>
Background:
2665
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2666
* def mystorage = Java.type('storage.DataStorage')
1
2667
* def db = new mystorage
1
2668
* def db = db.setfeature(karate.info.featureFileName)
2
2669
* def separator = java.lang.System.getProperty("file.separator")
2
2670
* def outputpath = db.outputpath()
1
2671
* eval db.ensureDirectory(outputpath)
1
2672
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2673
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2674
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2675
Given path 'geonetwork/srv/dut/inspire'
0
2676
And param service = 'CSW'
0
2677
And param version = '2.0.2'
0
2678
And param request = 'GetRecordById'
0
2679
And param id = 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
2680
And param elementsetname = 'full'
0
2681
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2682
When method get
273
2683
Then status 200
0
2684
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
2685
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2686
* def title = get response //citation/CI_Citation/title/CharacterString
0
2687
* def email = get response //electronicMailAddress/CharacterString
0
2688
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2689
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2690
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2691
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2692
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2693
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2694
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2695
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2696
* print organisationpath
0
10:30:45.321 [print] TNO Geologische Dienst Nederland
2697
* print operateson
0
10:30:45.321 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2698
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2699
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2700
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.76:18]0898d4a9-8fe6-46e9-8855-1242d8028970
ms: 287
>>
Background:
2701
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2702
* def mystorage = Java.type('storage.DataStorage')
1
2703
* def db = new mystorage
1
2704
* def db = db.setfeature(karate.info.featureFileName)
2
2705
* def separator = java.lang.System.getProperty("file.separator")
2
2706
* def outputpath = db.outputpath()
1
2707
* eval db.ensureDirectory(outputpath)
1
2708
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2709
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2710
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2711
Given path 'geonetwork/srv/dut/inspire'
1
2712
And param service = 'CSW'
0
2713
And param version = '2.0.2'
0
2714
And param request = 'GetRecordById'
0
2715
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970'
1
2716
And param elementsetname = 'full'
0
2717
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2718
When method get
276
2719
Then status 200
0
2720
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970'
1
2721
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2722
* def title = get response //citation/CI_Citation/title/CharacterString
0
2723
* def email = get response //electronicMailAddress/CharacterString
0
2724
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2725
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2726
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2727
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2728
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2729
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2730
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2731
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2732
* print organisationpath
0
10:30:45.424 [print] Beheer PDOK
2733
* print operateson
0
10:30:45.425 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification
2734
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2735
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2736
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.77:18]b5ee6914-04bd-4c7e-a180-242371ae40d9
ms: 346
>>
Background:
2737
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2738
* def mystorage = Java.type('storage.DataStorage')
1
2739
* def db = new mystorage
1
2740
* def db = db.setfeature(karate.info.featureFileName)
2
2741
* def separator = java.lang.System.getProperty("file.separator")
2
2742
* def outputpath = db.outputpath()
1
2743
* eval db.ensureDirectory(outputpath)
1
2744
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2745
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2746
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2747
Given path 'geonetwork/srv/dut/inspire'
0
2748
And param service = 'CSW'
0
2749
And param version = '2.0.2'
0
2750
And param request = 'GetRecordById'
0
2751
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
1
2752
And param elementsetname = 'full'
0
2753
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2754
When method get
296
2755
Then status 200
0
2756
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
1
2757
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2758
* def title = get response //citation/CI_Citation/title/CharacterString
0
2759
* def email = get response //electronicMailAddress/CharacterString
0
2760
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2761
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2762
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2763
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2764
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2765
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2766
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2767
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2768
* print organisationpath
0
10:30:45.480 [print] Rijksinstituut voor Volksgezondheid en Milieu
2769
* print operateson
1
10:30:45.481 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification" ]
2770
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
12
2771
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
28
2772
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.78:18]b85d4a0a-c0f7-42f4-9316-b214d205ca38
ms: 321
>>
Background:
2773
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2774
* def mystorage = Java.type('storage.DataStorage')
1
2775
* def db = new mystorage
1
2776
* def db = db.setfeature(karate.info.featureFileName)
2
2777
* def separator = java.lang.System.getProperty("file.separator")
2
2778
* def outputpath = db.outputpath()
1
2779
* eval db.ensureDirectory(outputpath)
1
2780
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2781
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2782
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2783
Given path 'geonetwork/srv/dut/inspire'
1
2784
And param service = 'CSW'
0
2785
And param version = '2.0.2'
0
2786
And param request = 'GetRecordById'
0
2787
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
1
2788
And param elementsetname = 'full'
0
2789
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2790
When method get
305
2791
Then status 200
0
2792
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
1
2793
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2794
* def title = get response //citation/CI_Citation/title/CharacterString
0
2795
* def email = get response //electronicMailAddress/CharacterString
1
2796
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2797
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2798
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2799
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2800
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2801
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2802
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2803
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
5
2804
* print organisationpath
0
10:30:45.526 [print] RDW
2805
* print operateson
0
10:30:45.526 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification
2806
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2807
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2808
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.79:18]641a0f48-872b-4470-b130-e3d28e6bfdfb
ms: 299
>>
Background:
2809
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2810
* def mystorage = Java.type('storage.DataStorage')
1
2811
* def db = new mystorage
1
2812
* def db = db.setfeature(karate.info.featureFileName)
2
2813
* def separator = java.lang.System.getProperty("file.separator")
2
2814
* def outputpath = db.outputpath()
1
2815
* eval db.ensureDirectory(outputpath)
1
2816
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2817
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2818
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2819
Given path 'geonetwork/srv/dut/inspire'
0
2820
And param service = 'CSW'
0
2821
And param version = '2.0.2'
0
2822
And param request = 'GetRecordById'
0
2823
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
2824
And param elementsetname = 'full'
0
2825
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2826
When method get
273
2827
Then status 200
0
2828
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
2829
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2830
* def title = get response //citation/CI_Citation/title/CharacterString
0
2831
* def email = get response //electronicMailAddress/CharacterString
0
2832
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2833
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2834
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2835
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2836
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
6
2837
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2838
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2839
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2840
* print organisationpath
0
10:30:45.613 [print] Beheer PDOK
2841
* print operateson
0
10:30:45.613 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification" ]
2842
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2843
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
9
2844
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.80:18]ef2a7962-8bb4-483f-ac78-851b619f357f
ms: 289
>>
Background:
2845
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2846
* def mystorage = Java.type('storage.DataStorage')
1
2847
* def db = new mystorage
1
2848
* def db = db.setfeature(karate.info.featureFileName)
2
2849
* def separator = java.lang.System.getProperty("file.separator")
2
2850
* def outputpath = db.outputpath()
1
2851
* eval db.ensureDirectory(outputpath)
1
2852
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2853
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2854
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2855
Given path 'geonetwork/srv/dut/inspire'
0
2856
And param service = 'CSW'
0
2857
And param version = '2.0.2'
0
2858
And param request = 'GetRecordById'
0
2859
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f'
0
2860
And param elementsetname = 'full'
0
2861
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2862
When method get
277
2863
Then status 200
0
2864
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f'
1
2865
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2866
* def title = get response //citation/CI_Citation/title/CharacterString
0
2867
* def email = get response //electronicMailAddress/CharacterString
0
2868
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2869
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2870
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2871
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2872
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2873
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2874
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2875
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2876
* print organisationpath
0
10:30:45.713 [print] Rijksdienst voor het Cultureel Erfgoed
2877
* print operateson
0
10:30:45.713 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
2878
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2879
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2880
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.81:18]037e55bd-a1dc-4fde-adfe-4610d3a3d5cb
ms: 306
>>
Background:
2881
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2882
* def mystorage = Java.type('storage.DataStorage')
1
2883
* def db = new mystorage
1
2884
* def db = db.setfeature(karate.info.featureFileName)
2
2885
* def separator = java.lang.System.getProperty("file.separator")
2
2886
* def outputpath = db.outputpath()
1
2887
* eval db.ensureDirectory(outputpath)
1
2888
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2889
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2890
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2891
Given path 'geonetwork/srv/dut/inspire'
0
2892
And param service = 'CSW'
0
2893
And param version = '2.0.2'
0
2894
And param request = 'GetRecordById'
0
2895
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
7
2896
And param elementsetname = 'full'
0
2897
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2898
When method get
289
2899
Then status 200
0
2900
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
1
2901
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2902
* def title = get response //citation/CI_Citation/title/CharacterString
1
2903
* def email = get response //electronicMailAddress/CharacterString
0
2904
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2905
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2906
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2907
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2908
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2909
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2910
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2911
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2912
* print organisationpath
0
10:30:45.826 [print] Beheer PDOK
2913
* print operateson
0
10:30:45.826 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
2914
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2915
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2916
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.82:18]tn-2c7040b-c448-451b-bf15-f2416etaadd1
ms: 351
>>
Background:
2917
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2918
* def mystorage = Java.type('storage.DataStorage')
1
2919
* def db = new mystorage
1
2920
* def db = db.setfeature(karate.info.featureFileName)
2
2921
* def separator = java.lang.System.getProperty("file.separator")
2
2922
* def outputpath = db.outputpath()
1
2923
* eval db.ensureDirectory(outputpath)
1
2924
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2925
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2926
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2927
Given path 'geonetwork/srv/dut/inspire'
3
2928
And param service = 'CSW'
0
2929
And param version = '2.0.2'
0
2930
And param request = 'GetRecordById'
0
2931
And param id = 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
2932
And param elementsetname = 'full'
0
2933
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2934
When method get
336
2935
Then status 200
0
2936
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
2937
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2938
* def title = get response //citation/CI_Citation/title/CharacterString
0
2939
* def email = get response //electronicMailAddress/CharacterString
0
2940
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2941
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2942
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2943
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2944
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2945
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2946
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2947
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2948
* print organisationpath
0
10:30:45.877 [print] Rijkswaterstaat
2949
* print operateson
0
10:30:45.877 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
2950
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2951
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2952
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.83:18]7c664a91-1aa2-4923-9d17-6a43e4075f47
ms: 297
>>
Background:
2953
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2954
* def mystorage = Java.type('storage.DataStorage')
1
2955
* def db = new mystorage
1
2956
* def db = db.setfeature(karate.info.featureFileName)
2
2957
* def separator = java.lang.System.getProperty("file.separator")
2
2958
* def outputpath = db.outputpath()
1
2959
* eval db.ensureDirectory(outputpath)
1
2960
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2961
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2962
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2963
Given path 'geonetwork/srv/dut/inspire'
1
2964
And param service = 'CSW'
0
2965
And param version = '2.0.2'
0
2966
And param request = 'GetRecordById'
0
2967
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
2968
And param elementsetname = 'full'
0
2969
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2970
When method get
285
2971
Then status 200
0
2972
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
2973
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2974
* def title = get response //citation/CI_Citation/title/CharacterString
0
2975
* def email = get response //electronicMailAddress/CharacterString
0
2976
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2977
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2978
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2979
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2980
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2981
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2982
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2983
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2984
* print organisationpath
0
10:30:45.918 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2985
* print operateson
0
10:30:45.919 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification
2986
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2987
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2988
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.84:18]1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb
ms: 293
>>
Background:
2989
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
2990
* def mystorage = Java.type('storage.DataStorage')
1
2991
* def db = new mystorage
1
2992
* def db = db.setfeature(karate.info.featureFileName)
2
2993
* def separator = java.lang.System.getProperty("file.separator")
2
2994
* def outputpath = db.outputpath()
1
2995
* eval db.ensureDirectory(outputpath)
1
2996
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2997
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2998
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2999
Given path 'geonetwork/srv/dut/inspire'
1
3000
And param service = 'CSW'
0
3001
And param version = '2.0.2'
0
3002
And param request = 'GetRecordById'
0
3003
And param id = '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
0
3004
And param elementsetname = 'full'
0
3005
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3006
When method get
282
3007
Then status 200
0
3008
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
1
3009
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3010
* def title = get response //citation/CI_Citation/title/CharacterString
1
3011
* def email = get response //electronicMailAddress/CharacterString
1
3012
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3013
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3014
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3015
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3016
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3017
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3018
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3019
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3020
* print organisationpath
0
10:30:46.008 [print] Beheer PDOK
3021
* print operateson
0
10:30:46.008 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
3022
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3023
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3024
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.85:18]54122631-d343-40be-9c28-e44626b37a0e
ms: 299
>>
Background:
3025
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3026
* def mystorage = Java.type('storage.DataStorage')
1
3027
* def db = new mystorage
1
3028
* def db = db.setfeature(karate.info.featureFileName)
2
3029
* def separator = java.lang.System.getProperty("file.separator")
2
3030
* def outputpath = db.outputpath()
1
3031
* eval db.ensureDirectory(outputpath)
1
3032
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3033
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3034
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3035
Given path 'geonetwork/srv/dut/inspire'
0
3036
And param service = 'CSW'
0
3037
And param version = '2.0.2'
0
3038
And param request = 'GetRecordById'
0
3039
And param id = '54122631-d343-40be-9c28-e44626b37a0e'
1
3040
And param elementsetname = 'full'
0
3041
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3042
When method get
286
3043
Then status 200
0
3044
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e'
1
3045
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3046
* def title = get response //citation/CI_Citation/title/CharacterString
0
3047
* def email = get response //electronicMailAddress/CharacterString
0
3048
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3049
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3050
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3051
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3052
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3053
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3054
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3055
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3056
* print organisationpath
0
10:30:46.124 [print] Beheer PDOK
3057
* print operateson
0
10:30:46.124 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3058
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
3059
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3060
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.86:18]5f0c583a-101e-45ea-b684-a056713cf811
ms: 295
>>
Background:
3061
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3062
* def mystorage = Java.type('storage.DataStorage')
1
3063
* def db = new mystorage
1
3064
* def db = db.setfeature(karate.info.featureFileName)
2
3065
* def separator = java.lang.System.getProperty("file.separator")
2
3066
* def outputpath = db.outputpath()
1
3067
* eval db.ensureDirectory(outputpath)
1
3068
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3069
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3070
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3071
Given path 'geonetwork/srv/dut/inspire'
0
3072
And param service = 'CSW'
0
3073
And param version = '2.0.2'
0
3074
And param request = 'GetRecordById'
0
3075
And param id = '5f0c583a-101e-45ea-b684-a056713cf811'
1
3076
And param elementsetname = 'full'
0
3077
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3078
When method get
284
3079
Then status 200
0
3080
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811'
1
3081
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3082
* def title = get response //citation/CI_Citation/title/CharacterString
0
3083
* def email = get response //electronicMailAddress/CharacterString
0
3084
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3085
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3086
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3087
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3088
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3089
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3090
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3091
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3092
* print organisationpath
0
10:30:46.173 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3093
* print operateson
0
10:30:46.173 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
3094
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3095
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3096
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.87:18]46873d16-6835-48c4-b47f-134ab0cb31fa
ms: 294
>>
Background:
3097
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3098
* def mystorage = Java.type('storage.DataStorage')
1
3099
* def db = new mystorage
1
3100
* def db = db.setfeature(karate.info.featureFileName)
2
3101
* def separator = java.lang.System.getProperty("file.separator")
2
3102
* def outputpath = db.outputpath()
1
3103
* eval db.ensureDirectory(outputpath)
1
3104
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3105
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3106
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3107
Given path 'geonetwork/srv/dut/inspire'
0
3108
And param service = 'CSW'
0
3109
And param version = '2.0.2'
0
3110
And param request = 'GetRecordById'
0
3111
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa'
0
3112
And param elementsetname = 'full'
0
3113
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3114
When method get
283
3115
Then status 200
0
3116
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa'
1
3117
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3118
* def title = get response //citation/CI_Citation/title/CharacterString
0
3119
* def email = get response //electronicMailAddress/CharacterString
0
3120
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3121
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3122
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3123
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3124
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3125
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3126
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3127
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3128
* print organisationpath
0
10:30:46.214 [print] Rijksinstituut voor Volksgezondheid en Milieu
3129
* print operateson
0
10:30:46.214 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
3130
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3131
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3132
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.88:18]ef2a7962-8bb4-483f-ca52-85123f579
ms: 282
>>
Background:
3133
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3134
* def mystorage = Java.type('storage.DataStorage')
1
3135
* def db = new mystorage
1
3136
* def db = db.setfeature(karate.info.featureFileName)
2
3137
* def separator = java.lang.System.getProperty("file.separator")
2
3138
* def outputpath = db.outputpath()
1
3139
* eval db.ensureDirectory(outputpath)
1
3140
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3141
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3142
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3143
Given path 'geonetwork/srv/dut/inspire'
1
3144
And param service = 'CSW'
0
3145
And param version = '2.0.2'
0
3146
And param request = 'GetRecordById'
0
3147
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579'
0
3148
And param elementsetname = 'full'
0
3149
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3150
When method get
269
3151
Then status 200
0
3152
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579'
1
3153
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3154
* def title = get response //citation/CI_Citation/title/CharacterString
0
3155
* def email = get response //electronicMailAddress/CharacterString
0
3156
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3157
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3158
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3159
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3160
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3161
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3162
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3163
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3164
* print organisationpath
0
10:30:46.289 [print] Informatiehuis Water
3165
* print operateson
0
10:30:46.289 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
3166
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3167
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3168
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.89:18]243c6401-9ed1-4cdd-b9a7-caff08813ce4
ms: 290
>>
Background:
3169
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3170
* def mystorage = Java.type('storage.DataStorage')
1
3171
* def db = new mystorage
1
3172
* def db = db.setfeature(karate.info.featureFileName)
2
3173
* def separator = java.lang.System.getProperty("file.separator")
2
3174
* def outputpath = db.outputpath()
1
3175
* eval db.ensureDirectory(outputpath)
1
3176
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3177
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3178
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3179
Given path 'geonetwork/srv/dut/inspire'
1
3180
And param service = 'CSW'
0
3181
And param version = '2.0.2'
0
3182
And param request = 'GetRecordById'
0
3183
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
1
3184
And param elementsetname = 'full'
0
3185
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3186
When method get
276
3187
Then status 200
0
3188
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
1
3189
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3190
* def title = get response //citation/CI_Citation/title/CharacterString
1
3191
* def email = get response //electronicMailAddress/CharacterString
0
3192
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3193
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3194
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3195
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3196
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3197
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3198
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3199
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3200
* print organisationpath
0
10:30:46.413 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3201
* print operateson
0
10:30:46.413 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
3202
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3203
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3204
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.90:18]224d93f6-0e4e-41fe-8424-1ab11a6c55ed
ms: 300
>>
Background:
3205
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3206
* def mystorage = Java.type('storage.DataStorage')
1
3207
* def db = new mystorage
1
3208
* def db = db.setfeature(karate.info.featureFileName)
2
3209
* def separator = java.lang.System.getProperty("file.separator")
2
3210
* def outputpath = db.outputpath()
1
3211
* eval db.ensureDirectory(outputpath)
1
3212
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3213
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3214
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3215
Given path 'geonetwork/srv/dut/inspire'
1
3216
And param service = 'CSW'
0
3217
And param version = '2.0.2'
0
3218
And param request = 'GetRecordById'
0
3219
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
1
3220
And param elementsetname = 'full'
0
3221
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3222
When method get
289
3223
Then status 200
0
3224
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
1
3225
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3226
* def title = get response //citation/CI_Citation/title/CharacterString
0
3227
* def email = get response //electronicMailAddress/CharacterString
0
3228
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3229
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3230
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3231
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3232
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3233
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3234
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3235
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3236
* print organisationpath
0
10:30:46.475 [print] Rijksinstituut voor Volksgezondheid en Milieu
3237
* print operateson
0
10:30:46.475 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
3238
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3239
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3240
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.91:18]03c39474-aef9-4169-95da-9890af440b14
ms: 304
>>
Background:
3241
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3242
* def mystorage = Java.type('storage.DataStorage')
1
3243
* def db = new mystorage
1
3244
* def db = db.setfeature(karate.info.featureFileName)
2
3245
* def separator = java.lang.System.getProperty("file.separator")
2
3246
* def outputpath = db.outputpath()
1
3247
* eval db.ensureDirectory(outputpath)
1
3248
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3249
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3250
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3251
Given path 'geonetwork/srv/dut/inspire'
0
3252
And param service = 'CSW'
0
3253
And param version = '2.0.2'
0
3254
And param request = 'GetRecordById'
0
3255
And param id = '03c39474-aef9-4169-95da-9890af440b14'
2
3256
And param elementsetname = 'full'
0
3257
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3258
When method get
292
3259
Then status 200
0
3260
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14'
1
3261
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3262
* def title = get response //citation/CI_Citation/title/CharacterString
0
3263
* def email = get response //electronicMailAddress/CharacterString
1
3264
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3265
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3266
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3267
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3268
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3269
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3270
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3271
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3272
* print organisationpath
0
10:30:46.519 [print] Rijksinstituut voor Volksgezondheid en Milieu
3273
* print operateson
0
10:30:46.519 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
3274
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3275
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3276
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.92:18]9fd2324b-9e02-4eab-bd4a-8e2be4fcd545
ms: 293
>>
Background:
3277
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3278
* def mystorage = Java.type('storage.DataStorage')
1
3279
* def db = new mystorage
1
3280
* def db = db.setfeature(karate.info.featureFileName)
2
3281
* def separator = java.lang.System.getProperty("file.separator")
2
3282
* def outputpath = db.outputpath()
1
3283
* eval db.ensureDirectory(outputpath)
1
3284
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3285
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3286
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3287
Given path 'geonetwork/srv/dut/inspire'
1
3288
And param service = 'CSW'
0
3289
And param version = '2.0.2'
0
3290
And param request = 'GetRecordById'
0
3291
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
0
3292
And param elementsetname = 'full'
0
3293
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3294
When method get
281
3295
Then status 200
0
3296
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
1
3297
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3298
* def title = get response //citation/CI_Citation/title/CharacterString
0
3299
* def email = get response //electronicMailAddress/CharacterString
0
3300
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3301
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3302
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3303
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3304
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3305
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3306
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3307
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3308
* print organisationpath
0
10:30:46.584 [print] Rijksinstituut voor Volksgezondheid en Milieu
3309
* print operateson
0
10:30:46.584 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
3310
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3311
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3312
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.93:18]d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507
ms: 279
>>
Background:
3313
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3314
* def mystorage = Java.type('storage.DataStorage')
1
3315
* def db = new mystorage
1
3316
* def db = db.setfeature(karate.info.featureFileName)
2
3317
* def separator = java.lang.System.getProperty("file.separator")
2
3318
* def outputpath = db.outputpath()
1
3319
* eval db.ensureDirectory(outputpath)
1
3320
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3321
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3322
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3323
Given path 'geonetwork/srv/dut/inspire'
1
3324
And param service = 'CSW'
0
3325
And param version = '2.0.2'
0
3326
And param request = 'GetRecordById'
0
3327
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
0
3328
And param elementsetname = 'full'
0
3329
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3330
When method get
268
3331
Then status 200
0
3332
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
1
3333
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3334
* def title = get response //citation/CI_Citation/title/CharacterString
0
3335
* def email = get response //electronicMailAddress/CharacterString
0
3336
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3337
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3338
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3339
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3340
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3341
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3342
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3343
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3344
* print organisationpath
0
10:30:46.695 [print] Beheer PDOK
3345
* print operateson
0
10:30:46.696 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
3346
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3347
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3348
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.94:18]ff8f6da2-949e-4838-90f6-fd895a4a240f
ms: 302
>>
Background:
3349
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3350
* def mystorage = Java.type('storage.DataStorage')
1
3351
* def db = new mystorage
1
3352
* def db = db.setfeature(karate.info.featureFileName)
2
3353
* def separator = java.lang.System.getProperty("file.separator")
2
3354
* def outputpath = db.outputpath()
1
3355
* eval db.ensureDirectory(outputpath)
1
3356
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3357
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3358
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3359
Given path 'geonetwork/srv/dut/inspire'
1
3360
And param service = 'CSW'
0
3361
And param version = '2.0.2'
0
3362
And param request = 'GetRecordById'
0
3363
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
0
3364
And param elementsetname = 'full'
0
3365
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3366
When method get
289
3367
Then status 200
0
3368
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
1
3369
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3370
* def title = get response //citation/CI_Citation/title/CharacterString
1
3371
* def email = get response //electronicMailAddress/CharacterString
1
3372
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3373
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3374
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3375
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3376
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3377
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3378
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3379
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3380
* print organisationpath
0
10:30:46.776 [print] Rijksinstituut voor Volksgezondheid en Milieu
3381
* print operateson
0
10:30:46.776 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
3382
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3383
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3384
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.95:18]93c8762c-4cbb-42b0-9b02-89ef902e8880
ms: 295
>>
Background:
3385
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3386
* def mystorage = Java.type('storage.DataStorage')
1
3387
* def db = new mystorage
1
3388
* def db = db.setfeature(karate.info.featureFileName)
2
3389
* def separator = java.lang.System.getProperty("file.separator")
2
3390
* def outputpath = db.outputpath()
1
3391
* eval db.ensureDirectory(outputpath)
1
3392
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3393
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3394
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3395
Given path 'geonetwork/srv/dut/inspire'
0
3396
And param service = 'CSW'
0
3397
And param version = '2.0.2'
0
3398
And param request = 'GetRecordById'
0
3399
And param id = '93c8762c-4cbb-42b0-9b02-89ef902e8880'
0
3400
And param elementsetname = 'full'
0
3401
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3402
When method get
284
3403
Then status 200
0
3404
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93c8762c-4cbb-42b0-9b02-89ef902e8880'
0
3405
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3406
* def title = get response //citation/CI_Citation/title/CharacterString
0
3407
* def email = get response //electronicMailAddress/CharacterString
1
3408
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3409
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3410
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3411
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3412
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3413
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3414
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3415
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3416
* print organisationpath
0
10:30:46.814 [print] Beheer PDOK
3417
* print operateson
0
10:30:46.815 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification" ]
3418
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3419
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3420
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.96:18]e91719b1-a139-42cf-8a1a-db78cd7477f8
ms: 292
>>
Background:
3421
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3422
* def mystorage = Java.type('storage.DataStorage')
1
3423
* def db = new mystorage
1
3424
* def db = db.setfeature(karate.info.featureFileName)
2
3425
* def separator = java.lang.System.getProperty("file.separator")
2
3426
* def outputpath = db.outputpath()
1
3427
* eval db.ensureDirectory(outputpath)
1
3428
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3429
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3430
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3431
Given path 'geonetwork/srv/dut/inspire'
1
3432
And param service = 'CSW'
0
3433
And param version = '2.0.2'
0
3434
And param request = 'GetRecordById'
0
3435
And param id = 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
0
3436
And param elementsetname = 'full'
0
3437
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3438
When method get
279
3439
Then status 200
0
3440
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
1
3441
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3442
* def title = get response //citation/CI_Citation/title/CharacterString
1
3443
* def email = get response //electronicMailAddress/CharacterString
0
3444
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3445
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3446
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3447
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3448
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3449
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3450
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3451
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3452
* print organisationpath
0
10:30:46.876 [print] Beheer PDOK
3453
* print operateson
0
10:30:46.876 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification" ]
3454
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3455
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3456
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.97:18]fbe544b6-6e6f-43a0-80b9-ced1df78c434
ms: 281
>>
Background:
3457
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3458
* def mystorage = Java.type('storage.DataStorage')
1
3459
* def db = new mystorage
1
3460
* def db = db.setfeature(karate.info.featureFileName)
2
3461
* def separator = java.lang.System.getProperty("file.separator")
2
3462
* def outputpath = db.outputpath()
1
3463
* eval db.ensureDirectory(outputpath)
1
3464
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3465
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3466
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3467
Given path 'geonetwork/srv/dut/inspire'
1
3468
And param service = 'CSW'
0
3469
And param version = '2.0.2'
0
3470
And param request = 'GetRecordById'
0
3471
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
0
3472
And param elementsetname = 'full'
0
3473
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3474
When method get
270
3475
Then status 200
0
3476
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
1
3477
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3478
* def title = get response //citation/CI_Citation/title/CharacterString
0
3479
* def email = get response //electronicMailAddress/CharacterString
0
3480
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3481
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3482
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3483
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3484
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3485
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3486
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3487
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3488
* print organisationpath
0
10:30:46.977 [print] Rijksinstituut voor Volksgezondheid en Milieu
3489
* print operateson
0
10:30:46.978 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
3490
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3491
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3492
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.98:18]37308f90-e619-4b62-ae9e-e656bb3f1649
ms: 364
>>
Background:
3493
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3494
* def mystorage = Java.type('storage.DataStorage')
1
3495
* def db = new mystorage
1
3496
* def db = db.setfeature(karate.info.featureFileName)
2
3497
* def separator = java.lang.System.getProperty("file.separator")
2
3498
* def outputpath = db.outputpath()
1
3499
* eval db.ensureDirectory(outputpath)
1
3500
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3501
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3502
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3503
Given path 'geonetwork/srv/dut/inspire'
0
3504
And param service = 'CSW'
0
3505
And param version = '2.0.2'
0
3506
And param request = 'GetRecordById'
0
3507
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649'
1
3508
And param elementsetname = 'full'
0
3509
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3510
When method get
353
3511
Then status 200
0
3512
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649'
1
3513
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3514
* def title = get response //citation/CI_Citation/title/CharacterString
1
3515
* def email = get response //electronicMailAddress/CharacterString
0
3516
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3517
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3518
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3519
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3520
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3521
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3522
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3523
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3524
* print organisationpath
0
10:30:47.142 [print] Rijksinstituut voor Volksgezondheid en Milieu
3525
* print operateson
0
10:30:47.142 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
3526
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3527
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3528
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.99:18]72f30ca1-3b80-4020-b9ed-301b1a88df39
ms: 346
>>
Background:
3529
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3530
* def mystorage = Java.type('storage.DataStorage')
1
3531
* def db = new mystorage
1
3532
* def db = db.setfeature(karate.info.featureFileName)
2
3533
* def separator = java.lang.System.getProperty("file.separator")
2
3534
* def outputpath = db.outputpath()
1
3535
* eval db.ensureDirectory(outputpath)
1
3536
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3537
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3538
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3539
Given path 'geonetwork/srv/dut/inspire'
1
3540
And param service = 'CSW'
0
3541
And param version = '2.0.2'
0
3542
And param request = 'GetRecordById'
0
3543
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
3544
And param elementsetname = 'full'
0
3545
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3546
When method get
334
3547
Then status 200
0
3548
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
3549
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3550
* def title = get response //citation/CI_Citation/title/CharacterString
1
3551
* def email = get response //electronicMailAddress/CharacterString
0
3552
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3553
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3554
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3555
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3556
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3557
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3558
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3559
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3560
* print organisationpath
0
10:30:47.160 [print] Rijksinstituut voor Volksgezondheid en Milieu
3561
* print operateson
0
10:30:47.160 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
3562
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
3563
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3564
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.100:18]f59357eb-185f-42a5-b465-90bfa6e3e416
ms: 353
>>
Background:
3565
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3566
* def mystorage = Java.type('storage.DataStorage')
1
3567
* def db = new mystorage
1
3568
* def db = db.setfeature(karate.info.featureFileName)
2
3569
* def separator = java.lang.System.getProperty("file.separator")
2
3570
* def outputpath = db.outputpath()
1
3571
* eval db.ensureDirectory(outputpath)
1
3572
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3573
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3574
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3575
Given path 'geonetwork/srv/dut/inspire'
1
3576
And param service = 'CSW'
0
3577
And param version = '2.0.2'
0
3578
And param request = 'GetRecordById'
0
3579
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416'
1
3580
And param elementsetname = 'full'
0
3581
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3582
When method get
341
3583
Then status 200
0
3584
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416'
1
3585
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3586
* def title = get response //citation/CI_Citation/title/CharacterString
0
3587
* def email = get response //electronicMailAddress/CharacterString
0
3588
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3589
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3590
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3591
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3592
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3593
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3594
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3595
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3596
* print organisationpath
0
10:30:47.230 [print] Rijksinstituut voor Volksgezondheid en Milieu
3597
* print operateson
0
10:30:47.231 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
3598
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3599
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3600
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.101:18]b4485d59-a945-4940-a2f5-3ce7de6a947b
ms: 300
>>
Background:
3601
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3602
* def mystorage = Java.type('storage.DataStorage')
1
3603
* def db = new mystorage
1
3604
* def db = db.setfeature(karate.info.featureFileName)
2
3605
* def separator = java.lang.System.getProperty("file.separator")
2
3606
* def outputpath = db.outputpath()
1
3607
* eval db.ensureDirectory(outputpath)
1
3608
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3609
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3610
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3611
Given path 'geonetwork/srv/dut/inspire'
0
3612
And param service = 'CSW'
0
3613
And param version = '2.0.2'
0
3614
And param request = 'GetRecordById'
0
3615
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
6
3616
And param elementsetname = 'full'
0
3617
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3618
When method get
283
3619
Then status 200
0
3620
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
1
3621
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3622
* def title = get response //citation/CI_Citation/title/CharacterString
1
3623
* def email = get response //electronicMailAddress/CharacterString
1
3624
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3625
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3626
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3627
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3628
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3629
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3630
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3631
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3632
* print organisationpath
0
10:30:47.279 [print] Rijksinstituut voor Volksgezondheid en Milieu
3633
* print operateson
0
10:30:47.279 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
3634
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3635
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3636
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.102:18]5255c080-5f4e-4f7a-8a2c-6ac9d0103288
ms: 298
>>
Background:
3637
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3638
* def mystorage = Java.type('storage.DataStorage')
1
3639
* def db = new mystorage
1
3640
* def db = db.setfeature(karate.info.featureFileName)
2
3641
* def separator = java.lang.System.getProperty("file.separator")
2
3642
* def outputpath = db.outputpath()
1
3643
* eval db.ensureDirectory(outputpath)
1
3644
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3645
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3646
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3647
Given path 'geonetwork/srv/dut/inspire'
0
3648
And param service = 'CSW'
0
3649
And param version = '2.0.2'
0
3650
And param request = 'GetRecordById'
0
3651
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
1
3652
And param elementsetname = 'full'
0
3653
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3654
When method get
286
3655
Then status 200
0
3656
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
1
3657
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3658
* def title = get response //citation/CI_Citation/title/CharacterString
0
3659
* def email = get response //electronicMailAddress/CharacterString
0
3660
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3661
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3662
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3663
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3664
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3665
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3666
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3667
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3668
* print organisationpath
0
10:30:47.440 [print] Rijksinstituut voor Volksgezondheid en Milieu
3669
* print operateson
0
10:30:47.441 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
3670
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3671
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3672
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.103:18]0606e8cb-fa51-402c-a3be-19fd724b0a10
ms: 338
>>
Background:
3673
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3674
* def mystorage = Java.type('storage.DataStorage')
1
3675
* def db = new mystorage
1
3676
* def db = db.setfeature(karate.info.featureFileName)
2
3677
* def separator = java.lang.System.getProperty("file.separator")
2
3678
* def outputpath = db.outputpath()
1
3679
* eval db.ensureDirectory(outputpath)
1
3680
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3681
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3682
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3683
Given path 'geonetwork/srv/dut/inspire'
0
3684
And param service = 'CSW'
0
3685
And param version = '2.0.2'
0
3686
And param request = 'GetRecordById'
0
3687
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10'
1
3688
And param elementsetname = 'full'
0
3689
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3690
When method get
327
3691
Then status 200
0
3692
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10'
1
3693
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3694
* def title = get response //citation/CI_Citation/title/CharacterString
0
3695
* def email = get response //electronicMailAddress/CharacterString
0
3696
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3697
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3698
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3699
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3700
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3701
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3702
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3703
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3704
* print organisationpath
0
10:30:47.499 [print] Rijksinstituut voor Volksgezondheid en Milieu
3705
* print operateson
0
10:30:47.499 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
3706
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3707
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3708
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.104:18]5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5
ms: 307
>>
Background:
3709
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3710
* def mystorage = Java.type('storage.DataStorage')
1
3711
* def db = new mystorage
1
3712
* def db = db.setfeature(karate.info.featureFileName)
2
3713
* def separator = java.lang.System.getProperty("file.separator")
2
3714
* def outputpath = db.outputpath()
1
3715
* eval db.ensureDirectory(outputpath)
1
3716
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3717
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3718
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3719
Given path 'geonetwork/srv/dut/inspire'
1
3720
And param service = 'CSW'
0
3721
And param version = '2.0.2'
0
3722
And param request = 'GetRecordById'
0
3723
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
1
3724
And param elementsetname = 'full'
0
3725
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3726
When method get
296
3727
Then status 200
0
3728
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
0
3729
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3730
* def title = get response //citation/CI_Citation/title/CharacterString
0
3731
* def email = get response //electronicMailAddress/CharacterString
0
3732
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3733
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3734
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3735
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3736
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3737
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3738
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3739
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3740
* print organisationpath
0
10:30:47.539 [print] Rijksinstituut voor Volksgezondheid en Milieu
3741
* print operateson
0
10:30:47.539 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
3742
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3743
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3744
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.105:18]a931e334-b752-4935-8a98-00eddc443789
ms: 302
>>
Background:
3745
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3746
* def mystorage = Java.type('storage.DataStorage')
1
3747
* def db = new mystorage
1
3748
* def db = db.setfeature(karate.info.featureFileName)
2
3749
* def separator = java.lang.System.getProperty("file.separator")
2
3750
* def outputpath = db.outputpath()
1
3751
* eval db.ensureDirectory(outputpath)
1
3752
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3753
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3754
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3755
Given path 'geonetwork/srv/dut/inspire'
0
3756
And param service = 'CSW'
0
3757
And param version = '2.0.2'
0
3758
And param request = 'GetRecordById'
0
3759
And param id = 'a931e334-b752-4935-8a98-00eddc443789'
0
3760
And param elementsetname = 'full'
0
3761
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3762
When method get
292
3763
Then status 200
0
3764
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789'
1
3765
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3766
* def title = get response //citation/CI_Citation/title/CharacterString
0
3767
* def email = get response //electronicMailAddress/CharacterString
0
3768
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3769
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3770
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3771
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3772
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3773
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3774
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3775
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3776
* print organisationpath
0
10:30:47.582 [print] Rijksinstituut voor Volksgezondheid en Milieu
3777
* print operateson
0
10:30:47.582 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
3778
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3779
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3780
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.106:18]01572637-b851-4cc3-b06a-56c1ae1115cc
ms: 311
>>
Background:
3781
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3782
* def mystorage = Java.type('storage.DataStorage')
1
3783
* def db = new mystorage
1
3784
* def db = db.setfeature(karate.info.featureFileName)
2
3785
* def separator = java.lang.System.getProperty("file.separator")
2
3786
* def outputpath = db.outputpath()
1
3787
* eval db.ensureDirectory(outputpath)
1
3788
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3789
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3790
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3791
Given path 'geonetwork/srv/dut/inspire'
1
3792
And param service = 'CSW'
0
3793
And param version = '2.0.2'
0
3794
And param request = 'GetRecordById'
0
3795
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc'
0
3796
And param elementsetname = 'full'
0
3797
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3798
When method get
300
3799
Then status 200
0
3800
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc'
1
3801
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3802
* def title = get response //citation/CI_Citation/title/CharacterString
0
3803
* def email = get response //electronicMailAddress/CharacterString
0
3804
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3805
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3806
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3807
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3808
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3809
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3810
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3811
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3812
* print organisationpath
0
10:30:47.752 [print] Rijksinstituut voor Volksgezondheid en Milieu
3813
* print operateson
0
10:30:47.752 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
3814
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3815
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3816
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.107:18]15c3c30f-0db2-4b3b-80f6-b990c8fc8225
ms: 308
>>
Background:
3817
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3818
* def mystorage = Java.type('storage.DataStorage')
1
3819
* def db = new mystorage
1
3820
* def db = db.setfeature(karate.info.featureFileName)
2
3821
* def separator = java.lang.System.getProperty("file.separator")
2
3822
* def outputpath = db.outputpath()
1
3823
* eval db.ensureDirectory(outputpath)
1
3824
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3825
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3826
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3827
Given path 'geonetwork/srv/dut/inspire'
0
3828
And param service = 'CSW'
0
3829
And param version = '2.0.2'
0
3830
And param request = 'GetRecordById'
0
3831
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
0
3832
And param elementsetname = 'full'
0
3833
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3834
When method get
296
3835
Then status 200
0
3836
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
1
3837
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3838
* def title = get response //citation/CI_Citation/title/CharacterString
0
3839
* def email = get response //electronicMailAddress/CharacterString
0
3840
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3841
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3842
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3843
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3844
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3845
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3846
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3847
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3848
* print organisationpath
0
10:30:47.806 [print] Beheer PDOK
3849
* print operateson
0
10:30:47.806 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
3850
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3851
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3852
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.108:18]wt-83730-e750-485a-9c0c-39bf9bt72cf8
ms: 397
>>
Background:
3853
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3854
* def mystorage = Java.type('storage.DataStorage')
1
3855
* def db = new mystorage
1
3856
* def db = db.setfeature(karate.info.featureFileName)
2
3857
* def separator = java.lang.System.getProperty("file.separator")
2
3858
* def outputpath = db.outputpath()
1
3859
* eval db.ensureDirectory(outputpath)
1
3860
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3861
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3862
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3863
Given path 'geonetwork/srv/dut/inspire'
1
3864
And param service = 'CSW'
0
3865
And param version = '2.0.2'
0
3866
And param request = 'GetRecordById'
0
3867
And param id = 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
0
3868
And param elementsetname = 'full'
0
3869
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3870
When method get
384
3871
Then status 200
0
3872
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
1
3873
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3874
* def title = get response //citation/CI_Citation/title/CharacterString
0
3875
* def email = get response //electronicMailAddress/CharacterString
0
3876
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3877
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3878
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3879
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3880
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3881
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3882
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3883
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3884
* print organisationpath
0
10:30:47.935 [print] Rijkswaterstaat
3885
* print operateson
0
10:30:47.936 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
3886
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
3887
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3888
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.109:18]wt-f5eb-b09f-4f6d-8397-8878a1t86238
ms: 353
>>
Background:
3889
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3890
* def mystorage = Java.type('storage.DataStorage')
1
3891
* def db = new mystorage
1
3892
* def db = db.setfeature(karate.info.featureFileName)
2
3893
* def separator = java.lang.System.getProperty("file.separator")
2
3894
* def outputpath = db.outputpath()
1
3895
* eval db.ensureDirectory(outputpath)
1
3896
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3897
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3898
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3899
Given path 'geonetwork/srv/dut/inspire'
0
3900
And param service = 'CSW'
0
3901
And param version = '2.0.2'
0
3902
And param request = 'GetRecordById'
0
3903
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
3904
And param elementsetname = 'full'
0
3905
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3906
When method get
338
3907
Then status 200
0
3908
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
3909
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3910
* def title = get response //citation/CI_Citation/title/CharacterString
1
3911
* def email = get response //electronicMailAddress/CharacterString
0
3912
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3913
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3914
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3915
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3916
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3917
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3918
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3919
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3920
* print organisationpath
0
10:30:47.932 [print] Rijkswaterstaat
3921
* print operateson
0
10:30:47.932 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
3922
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3923
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3924
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.110:18]664862cb-d426-4ee4-97ac-14c12b903b54
ms: 307
>>
Background:
3925
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3926
* def mystorage = Java.type('storage.DataStorage')
1
3927
* def db = new mystorage
1
3928
* def db = db.setfeature(karate.info.featureFileName)
2
3929
* def separator = java.lang.System.getProperty("file.separator")
2
3930
* def outputpath = db.outputpath()
1
3931
* eval db.ensureDirectory(outputpath)
1
3932
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3933
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3934
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3935
Given path 'geonetwork/srv/dut/inspire'
0
3936
And param service = 'CSW'
0
3937
And param version = '2.0.2'
0
3938
And param request = 'GetRecordById'
0
3939
And param id = '664862cb-d426-4ee4-97ac-14c12b903b54'
0
3940
And param elementsetname = 'full'
0
3941
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3942
When method get
293
3943
Then status 200
0
3944
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '664862cb-d426-4ee4-97ac-14c12b903b54'
1
3945
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3946
* def title = get response //citation/CI_Citation/title/CharacterString
0
3947
* def email = get response //electronicMailAddress/CharacterString
3
3948
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3949
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3950
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3951
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3952
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3953
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3954
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3955
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3956
* print organisationpath
0
10:30:48.059 [print] TNO Geologische Dienst Nederland
3957
* print operateson
0
10:30:48.060 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3958
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3959
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3960
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.111:18]4f4c7848-1767-4c67-be08-87d45d07f313
ms: 371
>>
Background:
3961
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3962
* def mystorage = Java.type('storage.DataStorage')
1
3963
* def db = new mystorage
1
3964
* def db = db.setfeature(karate.info.featureFileName)
2
3965
* def separator = java.lang.System.getProperty("file.separator")
2
3966
* def outputpath = db.outputpath()
1
3967
* eval db.ensureDirectory(outputpath)
1
3968
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3969
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3970
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3971
Given path 'geonetwork/srv/dut/inspire'
1
3972
And param service = 'CSW'
0
3973
And param version = '2.0.2'
0
3974
And param request = 'GetRecordById'
0
3975
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313'
1
3976
And param elementsetname = 'full'
0
3977
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3978
When method get
334
3979
Then status 200
0
3980
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313'
3
3981
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
3982
* def title = get response //citation/CI_Citation/title/CharacterString
3
3983
* def email = get response //electronicMailAddress/CharacterString
3
3984
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
3985
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
3986
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3987
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
3988
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
3989
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
3990
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
3991
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
3992
* print organisationpath
0
10:30:48.176 [print] Beheer PDOK
3993
* print operateson
0
10:30:48.176 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
3994
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
3995
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3996
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.112:18]a6098c24-4caf-4528-954c-672b9ec6cf78
ms: 376
>>
Background:
3997
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
3998
* def mystorage = Java.type('storage.DataStorage')
1
3999
* def db = new mystorage
1
4000
* def db = db.setfeature(karate.info.featureFileName)
2
4001
* def separator = java.lang.System.getProperty("file.separator")
2
4002
* def outputpath = db.outputpath()
1
4003
* eval db.ensureDirectory(outputpath)
1
4004
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4005
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4006
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4007
Given path 'geonetwork/srv/dut/inspire'
4
4008
And param service = 'CSW'
0
4009
And param version = '2.0.2'
0
4010
And param request = 'GetRecordById'
0
4011
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
4012
And param elementsetname = 'full'
0
4013
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4014
When method get
358
4015
Then status 200
0
4016
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
4017
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4018
* def title = get response //citation/CI_Citation/title/CharacterString
1
4019
* def email = get response //electronicMailAddress/CharacterString
1
4020
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4021
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4022
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4023
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4024
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4025
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4026
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4027
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4028
* print organisationpath
1
10:30:48.311 [print] Rijksinstituut voor Volksgezondheid en Milieu
4029
* print operateson
0
10:30:48.312 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
4030
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4031
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
4032
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.113:18]5471a93b-cf18-43f5-9ddb-71987857435d
ms: 320
>>
Background:
4033
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4034
* def mystorage = Java.type('storage.DataStorage')
1
4035
* def db = new mystorage
1
4036
* def db = db.setfeature(karate.info.featureFileName)
2
4037
* def separator = java.lang.System.getProperty("file.separator")
2
4038
* def outputpath = db.outputpath()
1
4039
* eval db.ensureDirectory(outputpath)
1
4040
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4041
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4042
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4043
Given path 'geonetwork/srv/dut/inspire'
0
4044
And param service = 'CSW'
0
4045
And param version = '2.0.2'
0
4046
And param request = 'GetRecordById'
0
4047
And param id = '5471a93b-cf18-43f5-9ddb-71987857435d'
1
4048
And param elementsetname = 'full'
0
4049
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4050
When method get
309
4051
Then status 200
0
4052
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5471a93b-cf18-43f5-9ddb-71987857435d'
1
4053
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4054
* def title = get response //citation/CI_Citation/title/CharacterString
0
4055
* def email = get response //electronicMailAddress/CharacterString
0
4056
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4057
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4058
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4059
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4060
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4061
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4062
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4063
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4064
* print organisationpath
0
10:30:48.258 [print] TNO Geologische Dienst Nederland
4065
* print operateson
0
10:30:48.258 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4066
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4067
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4068
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.114:18]755d488b-7b94-4883-95be-6aa279604f85
ms: 292
>>
Background:
4069
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4070
* def mystorage = Java.type('storage.DataStorage')
1
4071
* def db = new mystorage
1
4072
* def db = db.setfeature(karate.info.featureFileName)
2
4073
* def separator = java.lang.System.getProperty("file.separator")
2
4074
* def outputpath = db.outputpath()
1
4075
* eval db.ensureDirectory(outputpath)
1
4076
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4077
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4078
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4079
Given path 'geonetwork/srv/dut/inspire'
1
4080
And param service = 'CSW'
0
4081
And param version = '2.0.2'
0
4082
And param request = 'GetRecordById'
0
4083
And param id = '755d488b-7b94-4883-95be-6aa279604f85'
1
4084
And param elementsetname = 'full'
0
4085
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4086
When method get
278
4087
Then status 200
0
4088
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85'
1
4089
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4090
* def title = get response //citation/CI_Citation/title/CharacterString
1
4091
* def email = get response //electronicMailAddress/CharacterString
1
4092
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4093
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4094
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4095
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4096
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4097
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4098
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4099
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4100
* print organisationpath
0
10:30:48.352 [print] Rijksinstituut voor Volksgezondheid en Milieu
4101
* print operateson
0
10:30:48.352 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
4102
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4103
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4104
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.115:18]6bd9f72e-dcd2-11e3-ab0a-901b0e19e163
ms: 303
>>
Background:
4105
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4106
* def mystorage = Java.type('storage.DataStorage')
1
4107
* def db = new mystorage
1
4108
* def db = db.setfeature(karate.info.featureFileName)
2
4109
* def separator = java.lang.System.getProperty("file.separator")
2
4110
* def outputpath = db.outputpath()
1
4111
* eval db.ensureDirectory(outputpath)
1
4112
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4113
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4114
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4115
Given path 'geonetwork/srv/dut/inspire'
0
4116
And param service = 'CSW'
0
4117
And param version = '2.0.2'
0
4118
And param request = 'GetRecordById'
0
4119
And param id = '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
1
4120
And param elementsetname = 'full'
0
4121
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4122
When method get
289
4123
Then status 200
0
4124
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
1
4125
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4126
* def title = get response //citation/CI_Citation/title/CharacterString
1
4127
* def email = get response //electronicMailAddress/CharacterString
1
4128
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4129
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4130
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4131
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4132
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4133
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4134
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4135
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4136
* print organisationpath
0
10:30:48.480 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4137
* print operateson
0
10:30:48.480 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
4138
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4139
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
4140
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.116:18]1b9259fc-dc35-11e3-961c-901b0e19e163
ms: 321
>>
Background:
4141
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4142
* def mystorage = Java.type('storage.DataStorage')
1
4143
* def db = new mystorage
1
4144
* def db = db.setfeature(karate.info.featureFileName)
2
4145
* def separator = java.lang.System.getProperty("file.separator")
2
4146
* def outputpath = db.outputpath()
1
4147
* eval db.ensureDirectory(outputpath)
1
4148
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4149
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4150
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4151
Given path 'geonetwork/srv/dut/inspire'
0
4152
And param service = 'CSW'
0
4153
And param version = '2.0.2'
0
4154
And param request = 'GetRecordById'
0
4155
And param id = '1b9259fc-dc35-11e3-961c-901b0e19e163'
0
4156
And param elementsetname = 'full'
0
4157
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4158
When method get
303
4159
Then status 200
0
4160
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1b9259fc-dc35-11e3-961c-901b0e19e163'
1
4161
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4162
* def title = get response //citation/CI_Citation/title/CharacterString
1
4163
* def email = get response //electronicMailAddress/CharacterString
1
4164
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4165
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4166
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4167
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4168
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4169
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4170
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4171
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4172
* print organisationpath
0
10:30:48.576 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4173
* print operateson
0
10:30:48.576 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
4174
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4175
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
4176
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.117:18]c99b1291-c51f-49c8-902d-5bd4148cbbde
ms: 320
>>
Background:
4177
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4178
* def mystorage = Java.type('storage.DataStorage')
1
4179
* def db = new mystorage
1
4180
* def db = db.setfeature(karate.info.featureFileName)
2
4181
* def separator = java.lang.System.getProperty("file.separator")
2
4182
* def outputpath = db.outputpath()
1
4183
* eval db.ensureDirectory(outputpath)
1
4184
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4185
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4186
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4187
Given path 'geonetwork/srv/dut/inspire'
0
4188
And param service = 'CSW'
0
4189
And param version = '2.0.2'
0
4190
And param request = 'GetRecordById'
0
4191
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
0
4192
And param elementsetname = 'full'
0
4193
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4194
When method get
305
4195
Then status 200
0
4196
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
1
4197
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4198
* def title = get response //citation/CI_Citation/title/CharacterString
1
4199
* def email = get response //electronicMailAddress/CharacterString
1
4200
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4201
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4202
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4203
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4204
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4205
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
4206
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4207
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4208
* print organisationpath
0
10:30:48.633 [print] Interprovinciaal Overleg
4209
* print operateson
1
10:30:48.634 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4210
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4211
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4212
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.118:18]87a382da-c6dc-403c-a006-2379eb6daaa6
ms: 320
>>
Background:
4213
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4214
* def mystorage = Java.type('storage.DataStorage')
1
4215
* def db = new mystorage
1
4216
* def db = db.setfeature(karate.info.featureFileName)
2
4217
* def separator = java.lang.System.getProperty("file.separator")
2
4218
* def outputpath = db.outputpath()
1
4219
* eval db.ensureDirectory(outputpath)
1
4220
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4221
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4222
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4223
Given path 'geonetwork/srv/dut/inspire'
1
4224
And param service = 'CSW'
0
4225
And param version = '2.0.2'
0
4226
And param request = 'GetRecordById'
0
4227
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6'
2
4228
And param elementsetname = 'full'
0
4229
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4230
When method get
307
4231
Then status 200
0
4232
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6'
1
4233
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4234
* def title = get response //citation/CI_Citation/title/CharacterString
0
4235
* def email = get response //electronicMailAddress/CharacterString
0
4236
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4237
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4238
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4239
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4240
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4241
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4242
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4243
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4244
* print organisationpath
0
10:30:48.674 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4245
* print operateson
0
10:30:48.674 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4246
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4247
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
4248
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.119:18]bd14098b-44e6-47e5-959d-f40dda65da5a
ms: 298
>>
Background:
4249
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4250
* def mystorage = Java.type('storage.DataStorage')
1
4251
* def db = new mystorage
1
4252
* def db = db.setfeature(karate.info.featureFileName)
2
4253
* def separator = java.lang.System.getProperty("file.separator")
2
4254
* def outputpath = db.outputpath()
1
4255
* eval db.ensureDirectory(outputpath)
1
4256
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4257
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4258
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4259
Given path 'geonetwork/srv/dut/inspire'
1
4260
And param service = 'CSW'
0
4261
And param version = '2.0.2'
0
4262
And param request = 'GetRecordById'
0
4263
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
4264
And param elementsetname = 'full'
0
4265
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4266
When method get
286
4267
Then status 200
0
4268
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
4269
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4270
* def title = get response //citation/CI_Citation/title/CharacterString
1
4271
* def email = get response //electronicMailAddress/CharacterString
0
4272
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4273
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4274
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4275
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4276
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4277
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4278
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4279
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4280
* print organisationpath
0
10:30:48.780 [print] Rijksinstituut voor Volksgezondheid en Milieu
4281
* print operateson
0
10:30:48.780 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
4282
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4283
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4284
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.120:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b1
ms: 302
>>
Background:
4285
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4286
* def mystorage = Java.type('storage.DataStorage')
1
4287
* def db = new mystorage
1
4288
* def db = db.setfeature(karate.info.featureFileName)
2
4289
* def separator = java.lang.System.getProperty("file.separator")
2
4290
* def outputpath = db.outputpath()
1
4291
* eval db.ensureDirectory(outputpath)
1
4292
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4293
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4294
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4295
Given path 'geonetwork/srv/dut/inspire'
1
4296
And param service = 'CSW'
0
4297
And param version = '2.0.2'
0
4298
And param request = 'GetRecordById'
0
4299
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
0
4300
And param elementsetname = 'full'
0
4301
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4302
When method get
291
4303
Then status 200
0
4304
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
1
4305
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4306
* def title = get response //citation/CI_Citation/title/CharacterString
1
4307
* def email = get response //electronicMailAddress/CharacterString
1
4308
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4309
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4310
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4311
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4312
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4313
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4314
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4315
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4316
* print organisationpath
0
10:30:48.883 [print] Rijkswaterstaat
4317
* print operateson
0
10:30:48.884 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
4318
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4319
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4320
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.121:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b2
ms: 307
>>
Background:
4321
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4322
* def mystorage = Java.type('storage.DataStorage')
1
4323
* def db = new mystorage
1
4324
* def db = db.setfeature(karate.info.featureFileName)
2
4325
* def separator = java.lang.System.getProperty("file.separator")
2
4326
* def outputpath = db.outputpath()
1
4327
* eval db.ensureDirectory(outputpath)
1
4328
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4329
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4330
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4331
Given path 'geonetwork/srv/dut/inspire'
1
4332
And param service = 'CSW'
0
4333
And param version = '2.0.2'
0
4334
And param request = 'GetRecordById'
0
4335
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
4336
And param elementsetname = 'full'
0
4337
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4338
When method get
292
4339
Then status 200
0
4340
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
4341
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4342
* def title = get response //citation/CI_Citation/title/CharacterString
0
4343
* def email = get response //electronicMailAddress/CharacterString
1
4344
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4345
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4346
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4347
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4348
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4349
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4350
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4351
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4352
* print organisationpath
0
10:30:48.939 [print] Rijkswaterstaat
4353
* print operateson
0
10:30:48.972 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification
4354
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
4355
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4356
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.122:18]b7880739-a701-4cc0-bb32-2bba61fa8924
ms: 311
>>
Background:
4357
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4358
* def mystorage = Java.type('storage.DataStorage')
1
4359
* def db = new mystorage
1
4360
* def db = db.setfeature(karate.info.featureFileName)
2
4361
* def separator = java.lang.System.getProperty("file.separator")
2
4362
* def outputpath = db.outputpath()
1
4363
* eval db.ensureDirectory(outputpath)
1
4364
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4365
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4366
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4367
Given path 'geonetwork/srv/dut/inspire'
0
4368
And param service = 'CSW'
0
4369
And param version = '2.0.2'
0
4370
And param request = 'GetRecordById'
0
4371
And param id = 'b7880739-a701-4cc0-bb32-2bba61fa8924'
0
4372
And param elementsetname = 'full'
0
4373
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4374
When method get
291
4375
Then status 200
0
4376
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b7880739-a701-4cc0-bb32-2bba61fa8924'
10
4377
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4378
* def title = get response //citation/CI_Citation/title/CharacterString
0
4379
* def email = get response //electronicMailAddress/CharacterString
1
4380
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4381
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4382
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4383
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4384
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4385
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4386
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4387
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4388
* print organisationpath
0
10:30:48.988 [print] TNO Geologische Dienst Nederland
4389
* print operateson
0
10:30:48.988 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4390
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4391
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4392
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.123:18]wt-83730-e750-485a-9c0c-39bf9bf72cf8
ms: 298
>>
Background:
4393
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4394
* def mystorage = Java.type('storage.DataStorage')
1
4395
* def db = new mystorage
1
4396
* def db = db.setfeature(karate.info.featureFileName)
2
4397
* def separator = java.lang.System.getProperty("file.separator")
2
4398
* def outputpath = db.outputpath()
1
4399
* eval db.ensureDirectory(outputpath)
1
4400
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4401
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4402
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4403
Given path 'geonetwork/srv/dut/inspire'
0
4404
And param service = 'CSW'
0
4405
And param version = '2.0.2'
0
4406
And param request = 'GetRecordById'
0
4407
And param id = 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
0
4408
And param elementsetname = 'full'
0
4409
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4410
When method get
286
4411
Then status 200
0
4412
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
1
4413
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4414
* def title = get response //citation/CI_Citation/title/CharacterString
0
4415
* def email = get response //electronicMailAddress/CharacterString
0
4416
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4417
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4418
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4419
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4420
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4421
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4422
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4423
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4424
* print organisationpath
0
10:30:49.079 [print] Rijkswaterstaat
4425
* print operateson
0
10:30:49.079 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4426
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4427
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4428
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.124:18]wt-f5eb-b09f-4f6d-8397-8878a1f86238
ms: 320
>>
Background:
4429
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4430
* def mystorage = Java.type('storage.DataStorage')
1
4431
* def db = new mystorage
1
4432
* def db = db.setfeature(karate.info.featureFileName)
2
4433
* def separator = java.lang.System.getProperty("file.separator")
2
4434
* def outputpath = db.outputpath()
1
4435
* eval db.ensureDirectory(outputpath)
1
4436
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4437
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4438
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4439
Given path 'geonetwork/srv/dut/inspire'
0
4440
And param service = 'CSW'
0
4441
And param version = '2.0.2'
0
4442
And param request = 'GetRecordById'
0
4443
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
1
4444
And param elementsetname = 'full'
0
4445
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4446
When method get
305
4447
Then status 200
0
4448
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
1
4449
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4450
* def title = get response //citation/CI_Citation/title/CharacterString
2
4451
* def email = get response //electronicMailAddress/CharacterString
1
4452
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4453
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4454
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4455
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4456
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4457
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4458
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4459
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4460
* print organisationpath
0
10:30:49.204 [print] Rijkswaterstaat
4461
* print operateson
0
10:30:49.204 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
4462
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4463
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4464
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.125:18]ebd6ea46-ee7b-432f-83c4-058c889a790d
ms: 322
>>
Background:
4465
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4466
* def mystorage = Java.type('storage.DataStorage')
1
4467
* def db = new mystorage
1
4468
* def db = db.setfeature(karate.info.featureFileName)
2
4469
* def separator = java.lang.System.getProperty("file.separator")
2
4470
* def outputpath = db.outputpath()
1
4471
* eval db.ensureDirectory(outputpath)
1
4472
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4473
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4474
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4475
Given path 'geonetwork/srv/dut/inspire'
0
4476
And param service = 'CSW'
0
4477
And param version = '2.0.2'
0
4478
And param request = 'GetRecordById'
0
4479
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
0
4480
And param elementsetname = 'full'
0
4481
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4482
When method get
310
4483
Then status 200
0
4484
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
1
4485
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4486
* def title = get response //citation/CI_Citation/title/CharacterString
0
4487
* def email = get response //electronicMailAddress/CharacterString
1
4488
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4489
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4490
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4491
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4492
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4493
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4494
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4495
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4496
* print organisationpath
0
10:30:49.298 [print] Interprovinciaal Overleg
4497
* print operateson
0
10:30:49.298 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
4498
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4499
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4500
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.126:18]9ad3f0c0-9e2c-4d44-a467-b57920aa512f
ms: 373
>>
Background:
4501
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4502
* def mystorage = Java.type('storage.DataStorage')
1
4503
* def db = new mystorage
1
4504
* def db = db.setfeature(karate.info.featureFileName)
2
4505
* def separator = java.lang.System.getProperty("file.separator")
2
4506
* def outputpath = db.outputpath()
1
4507
* eval db.ensureDirectory(outputpath)
1
4508
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4509
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4510
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4511
Given path 'geonetwork/srv/dut/inspire'
0
4512
And param service = 'CSW'
0
4513
And param version = '2.0.2'
0
4514
And param request = 'GetRecordById'
0
4515
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
0
4516
And param elementsetname = 'full'
0
4517
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4518
When method get
363
4519
Then status 200
0
4520
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
1
4521
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4522
* def title = get response //citation/CI_Citation/title/CharacterString
0
4523
* def email = get response //electronicMailAddress/CharacterString
0
4524
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4525
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4526
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4527
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4528
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4529
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4530
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4531
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4532
* print organisationpath
0
10:30:49.361 [print] Beheer PDOK
4533
* print operateson
0
10:30:49.361 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ea938ed4-c9c0-4324-824f-5926669ba0e0#MD_DataIdentification
4534
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4535
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4536
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.127:18]e222648d-d19e-4a99-a67d-2af1c9aabd75
ms: 318
>>
Background:
4537
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4538
* def mystorage = Java.type('storage.DataStorage')
1
4539
* def db = new mystorage
1
4540
* def db = db.setfeature(karate.info.featureFileName)
2
4541
* def separator = java.lang.System.getProperty("file.separator")
2
4542
* def outputpath = db.outputpath()
1
4543
* eval db.ensureDirectory(outputpath)
1
4544
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4545
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4546
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4547
Given path 'geonetwork/srv/dut/inspire'
1
4548
And param service = 'CSW'
0
4549
And param version = '2.0.2'
0
4550
And param request = 'GetRecordById'
0
4551
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
1
4552
And param elementsetname = 'full'
0
4553
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4554
When method get
308
4555
Then status 200
0
4556
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
1
4557
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4558
* def title = get response //citation/CI_Citation/title/CharacterString
0
4559
* def email = get response //electronicMailAddress/CharacterString
0
4560
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4561
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4562
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4563
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4564
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4565
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4566
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4567
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4568
* print organisationpath
0
10:30:49.399 [print] Beheer PDOK
4569
* print operateson
0
10:30:49.399 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
4570
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4571
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4572
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.128:18]91041d33-54f8-40f1-8965-a867ba00cab8
ms: 291
>>
Background:
4573
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4574
* def mystorage = Java.type('storage.DataStorage')
1
4575
* def db = new mystorage
1
4576
* def db = db.setfeature(karate.info.featureFileName)
2
4577
* def separator = java.lang.System.getProperty("file.separator")
2
4578
* def outputpath = db.outputpath()
1
4579
* eval db.ensureDirectory(outputpath)
1
4580
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4581
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4582
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4583
Given path 'geonetwork/srv/dut/inspire'
1
4584
And param service = 'CSW'
0
4585
And param version = '2.0.2'
0
4586
And param request = 'GetRecordById'
0
4587
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8'
0
4588
And param elementsetname = 'full'
0
4589
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4590
When method get
280
4591
Then status 200
0
4592
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8'
1
4593
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4594
* def title = get response //citation/CI_Citation/title/CharacterString
0
4595
* def email = get response //electronicMailAddress/CharacterString
0
4596
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4597
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4598
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4599
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4600
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4601
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4602
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4603
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4604
* print organisationpath
0
10:30:49.496 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4605
* print operateson
0
10:30:49.496 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
4606
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4607
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4608
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.129:18]e27e61d8-25b1-45ee-a2df-071312ba8a69
ms: 308
>>
Background:
4609
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4610
* def mystorage = Java.type('storage.DataStorage')
1
4611
* def db = new mystorage
1
4612
* def db = db.setfeature(karate.info.featureFileName)
2
4613
* def separator = java.lang.System.getProperty("file.separator")
2
4614
* def outputpath = db.outputpath()
1
4615
* eval db.ensureDirectory(outputpath)
1
4616
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4617
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4618
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4619
Given path 'geonetwork/srv/dut/inspire'
1
4620
And param service = 'CSW'
0
4621
And param version = '2.0.2'
0
4622
And param request = 'GetRecordById'
0
4623
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
1
4624
And param elementsetname = 'full'
0
4625
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4626
When method get
282
4627
Then status 200
0
4628
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
1
4629
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4630
* def title = get response //citation/CI_Citation/title/CharacterString
1
4631
* def email = get response //electronicMailAddress/CharacterString
0
4632
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4633
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4634
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4635
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4636
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4637
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4638
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4639
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4640
* print organisationpath
0
10:30:49.592 [print] Beheer PDOK
4641
* print operateson
0
10:30:49.592 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification" ]
4642
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4643
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
13
4644
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.130:18]a12ae6ca-b755-4707-884f-95c0d66f431a
ms: 316
>>
Background:
4645
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4646
* def mystorage = Java.type('storage.DataStorage')
1
4647
* def db = new mystorage
1
4648
* def db = db.setfeature(karate.info.featureFileName)
2
4649
* def separator = java.lang.System.getProperty("file.separator")
2
4650
* def outputpath = db.outputpath()
1
4651
* eval db.ensureDirectory(outputpath)
1
4652
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4653
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4654
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4655
Given path 'geonetwork/srv/dut/inspire'
0
4656
And param service = 'CSW'
0
4657
And param version = '2.0.2'
0
4658
And param request = 'GetRecordById'
0
4659
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a'
0
4660
And param elementsetname = 'full'
0
4661
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4662
When method get
306
4663
Then status 200
0
4664
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a'
1
4665
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4666
* def title = get response //citation/CI_Citation/title/CharacterString
0
4667
* def email = get response //electronicMailAddress/CharacterString
0
4668
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4669
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4670
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4671
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4672
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4673
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4674
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4675
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4676
* print organisationpath
0
10:30:49.678 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4677
* print operateson
0
10:30:49.678 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
4678
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4679
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4680
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.131:18]6d86c14f-cccf-41e9-a58e-ead9d52ae35d
ms: 307
>>
Background:
4681
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4682
* def mystorage = Java.type('storage.DataStorage')
1
4683
* def db = new mystorage
1
4684
* def db = db.setfeature(karate.info.featureFileName)
2
4685
* def separator = java.lang.System.getProperty("file.separator")
2
4686
* def outputpath = db.outputpath()
1
4687
* eval db.ensureDirectory(outputpath)
1
4688
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4689
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4690
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4691
Given path 'geonetwork/srv/dut/inspire'
1
4692
And param service = 'CSW'
0
4693
And param version = '2.0.2'
0
4694
And param request = 'GetRecordById'
0
4695
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
1
4696
And param elementsetname = 'full'
0
4697
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4698
When method get
295
4699
Then status 200
0
4700
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
1
4701
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4702
* def title = get response //citation/CI_Citation/title/CharacterString
0
4703
* def email = get response //electronicMailAddress/CharacterString
1
4704
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4705
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4706
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4707
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4708
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4709
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4710
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4711
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4712
* print organisationpath
0
10:30:49.706 [print] Informatiehuis Water
4713
* print operateson
0
10:30:49.706 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
4714
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4715
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4716
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.132:18]ea4cb6a2-f637-413a-91cc-d58473c2f138
ms: 348
>>
Background:
4717
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4718
* def mystorage = Java.type('storage.DataStorage')
1
4719
* def db = new mystorage
1
4720
* def db = db.setfeature(karate.info.featureFileName)
2
4721
* def separator = java.lang.System.getProperty("file.separator")
2
4722
* def outputpath = db.outputpath()
1
4723
* eval db.ensureDirectory(outputpath)
1
4724
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4725
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4726
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4727
Given path 'geonetwork/srv/dut/inspire'
1
4728
And param service = 'CSW'
0
4729
And param version = '2.0.2'
0
4730
And param request = 'GetRecordById'
0
4731
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
0
4732
And param elementsetname = 'full'
0
4733
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4734
When method get
325
4735
Then status 200
0
4736
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
4737
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4738
* def title = get response //citation/CI_Citation/title/CharacterString
0
4739
* def email = get response //electronicMailAddress/CharacterString
0
4740
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4741
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4742
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4743
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4744
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4745
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4746
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4747
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4748
* print organisationpath
0
10:30:49.833 [print] Interprovinciaal Overleg
4749
* print operateson
0
10:30:49.833 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
4750
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
12
4751
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4752
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.133:18]9ff1a13c-d1e0-4150-8523-91cb489ae1a4
ms: 344
>>
Background:
4753
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4754
* def mystorage = Java.type('storage.DataStorage')
1
4755
* def db = new mystorage
1
4756
* def db = db.setfeature(karate.info.featureFileName)
2
4757
* def separator = java.lang.System.getProperty("file.separator")
2
4758
* def outputpath = db.outputpath()
1
4759
* eval db.ensureDirectory(outputpath)
1
4760
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4761
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4762
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4763
Given path 'geonetwork/srv/dut/inspire'
1
4764
And param service = 'CSW'
0
4765
And param version = '2.0.2'
0
4766
And param request = 'GetRecordById'
0
4767
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
1
4768
And param elementsetname = 'full'
0
4769
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4770
When method get
308
4771
Then status 200
0
4772
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
1
4773
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4774
* def title = get response //citation/CI_Citation/title/CharacterString
1
4775
* def email = get response //electronicMailAddress/CharacterString
1
4776
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4777
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4778
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4779
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4780
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4781
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4782
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4783
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4784
* print organisationpath
0
10:30:49.929 [print] Beheer PDOK
4785
* print operateson
17
10:30:49.946 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=0f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d25fe199-2430-48fd-ad57-5b5f79f73cdf#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bbece924-9aab-4e00-8392-bce36b8f494e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8eee71f9-9365-490d-9484-00263c6fa35c#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2af8df10-81ba-434a-8125-34fe8f127cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d0dc580-ba7a-4c3b-968b-199efd92d6cf#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification" ]
4786
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4787
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
4788
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.134:18]wt-3730-e750-485a-9c0c-39bf9bm72cf9
ms: 300
>>
Background:
4789
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4790
* def mystorage = Java.type('storage.DataStorage')
1
4791
* def db = new mystorage
1
4792
* def db = db.setfeature(karate.info.featureFileName)
2
4793
* def separator = java.lang.System.getProperty("file.separator")
2
4794
* def outputpath = db.outputpath()
1
4795
* eval db.ensureDirectory(outputpath)
1
4796
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4797
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4798
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4799
Given path 'geonetwork/srv/dut/inspire'
0
4800
And param service = 'CSW'
0
4801
And param version = '2.0.2'
0
4802
And param request = 'GetRecordById'
0
4803
And param id = 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
0
4804
And param elementsetname = 'full'
0
4805
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4806
When method get
286
4807
Then status 200
0
4808
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
1
4809
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4810
* def title = get response //citation/CI_Citation/title/CharacterString
1
4811
* def email = get response //electronicMailAddress/CharacterString
0
4812
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4813
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
4
4814
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4815
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4816
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4817
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4818
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4819
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4820
* print organisationpath
0
10:30:49.978 [print] Rijkswaterstaat
4821
* print operateson
0
10:30:49.979 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
4822
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4823
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4824
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.135:18]0080a9ce-b836-45bc-8fdf-07dcbe97101d
ms: 318
>>
Background:
4825
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4826
* def mystorage = Java.type('storage.DataStorage')
1
4827
* def db = new mystorage
1
4828
* def db = db.setfeature(karate.info.featureFileName)
2
4829
* def separator = java.lang.System.getProperty("file.separator")
2
4830
* def outputpath = db.outputpath()
1
4831
* eval db.ensureDirectory(outputpath)
1
4832
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4833
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4834
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4835
Given path 'geonetwork/srv/dut/inspire'
1
4836
And param service = 'CSW'
0
4837
And param version = '2.0.2'
0
4838
And param request = 'GetRecordById'
0
4839
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
1
4840
And param elementsetname = 'full'
0
4841
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4842
When method get
306
4843
Then status 200
0
4844
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
1
4845
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4846
* def title = get response //citation/CI_Citation/title/CharacterString
0
4847
* def email = get response //electronicMailAddress/CharacterString
0
4848
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4849
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4850
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4851
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4852
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4853
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4854
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4855
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4856
* print organisationpath
0
10:30:50.026 [print] Beheer PDOK
4857
* print operateson
0
10:30:50.026 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=493ab81b-75f8-4205-b030-6b2fd9eb4295&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4858
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4859
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4860
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.136:18]22bedc12-e9cb-4419-8e51-dfb375d46d01
ms: 288
>>
Background:
4861
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4862
* def mystorage = Java.type('storage.DataStorage')
1
4863
* def db = new mystorage
1
4864
* def db = db.setfeature(karate.info.featureFileName)
2
4865
* def separator = java.lang.System.getProperty("file.separator")
2
4866
* def outputpath = db.outputpath()
1
4867
* eval db.ensureDirectory(outputpath)
1
4868
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4869
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4870
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4871
Given path 'geonetwork/srv/dut/inspire'
1
4872
And param service = 'CSW'
0
4873
And param version = '2.0.2'
0
4874
And param request = 'GetRecordById'
0
4875
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01'
0
4876
And param elementsetname = 'full'
0
4877
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4878
When method get
277
4879
Then status 200
0
4880
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01'
1
4881
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4882
* def title = get response //citation/CI_Citation/title/CharacterString
0
4883
* def email = get response //electronicMailAddress/CharacterString
0
4884
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4885
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4886
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4887
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4888
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4889
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4890
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4891
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4892
* print organisationpath
1
10:30:50.132 [print] Interprovinciaal Overleg
4893
* print operateson
0
10:30:50.133 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
4894
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4895
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4896
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.137:18]cd370f58-0e54-48d6-b83b-ccd332bfb7c7
ms: 302
>>
Background:
4897
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4898
* def mystorage = Java.type('storage.DataStorage')
1
4899
* def db = new mystorage
1
4900
* def db = db.setfeature(karate.info.featureFileName)
2
4901
* def separator = java.lang.System.getProperty("file.separator")
2
4902
* def outputpath = db.outputpath()
1
4903
* eval db.ensureDirectory(outputpath)
1
4904
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4905
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4906
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4907
Given path 'geonetwork/srv/dut/inspire'
5
4908
And param service = 'CSW'
0
4909
And param version = '2.0.2'
0
4910
And param request = 'GetRecordById'
0
4911
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
1
4912
And param elementsetname = 'full'
0
4913
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4914
When method get
288
4915
Then status 200
0
4916
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
1
4917
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4918
* def title = get response //citation/CI_Citation/title/CharacterString
0
4919
* def email = get response //electronicMailAddress/CharacterString
0
4920
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4921
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4922
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4923
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4924
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4925
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4926
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4927
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4928
* print organisationpath
0
10:30:50.255 [print] Rijksinstituut voor Volksgezondheid en Milieu
4929
* print operateson
0
10:30:50.255 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
4930
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4931
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4932
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.138:18]tbjk534p-wubf-crbp-cj25-d41611m0gfim
ms: 338
>>
Background:
4933
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4934
* def mystorage = Java.type('storage.DataStorage')
1
4935
* def db = new mystorage
1
4936
* def db = db.setfeature(karate.info.featureFileName)
2
4937
* def separator = java.lang.System.getProperty("file.separator")
2
4938
* def outputpath = db.outputpath()
1
4939
* eval db.ensureDirectory(outputpath)
1
4940
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4941
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4942
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4943
Given path 'geonetwork/srv/dut/inspire'
0
4944
And param service = 'CSW'
0
4945
And param version = '2.0.2'
0
4946
And param request = 'GetRecordById'
0
4947
And param id = 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
2
4948
And param elementsetname = 'full'
0
4949
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4950
When method get
314
4951
Then status 200
0
4952
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
1
4953
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4954
* def title = get response //citation/CI_Citation/title/CharacterString
1
4955
* def email = get response //electronicMailAddress/CharacterString
1
4956
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4957
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4958
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4959
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4960
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4961
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4962
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4963
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4964
* print organisationpath
0
10:30:50.308 [print] Rijkswaterstaat
4965
* print operateson
0
10:30:50.308 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4966
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4967
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
9
4968
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.139:18]efb5222c-112a-4c57-9bbf-f2af918cb9b5
ms: 330
>>
Background:
4969
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
4970
* def mystorage = Java.type('storage.DataStorage')
1
4971
* def db = new mystorage
1
4972
* def db = db.setfeature(karate.info.featureFileName)
2
4973
* def separator = java.lang.System.getProperty("file.separator")
2
4974
* def outputpath = db.outputpath()
1
4975
* eval db.ensureDirectory(outputpath)
1
4976
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4977
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4978
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4979
Given path 'geonetwork/srv/dut/inspire'
1
4980
And param service = 'CSW'
0
4981
And param version = '2.0.2'
0
4982
And param request = 'GetRecordById'
0
4983
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
0
4984
And param elementsetname = 'full'
0
4985
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4986
When method get
318
4987
Then status 200
0
4988
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
1
4989
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4990
* def title = get response //citation/CI_Citation/title/CharacterString
0
4991
* def email = get response //electronicMailAddress/CharacterString
0
4992
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4993
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4994
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4995
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4996
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4997
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4998
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4999
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5000
* print organisationpath
0
10:30:50.355 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5001
* print operateson
0
10:30:50.355 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
5002
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5003
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5004
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.140:18]a299a4af-ccd8-4d32-b1fb-ffab77b32e0e
ms: 312
>>
Background:
5005
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5006
* def mystorage = Java.type('storage.DataStorage')
1
5007
* def db = new mystorage
1
5008
* def db = db.setfeature(karate.info.featureFileName)
2
5009
* def separator = java.lang.System.getProperty("file.separator")
2
5010
* def outputpath = db.outputpath()
1
5011
* eval db.ensureDirectory(outputpath)
1
5012
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5013
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5014
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5015
Given path 'geonetwork/srv/dut/inspire'
1
5016
And param service = 'CSW'
0
5017
And param version = '2.0.2'
0
5018
And param request = 'GetRecordById'
0
5019
And param id = 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
0
5020
And param elementsetname = 'full'
0
5021
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5022
When method get
302
5023
Then status 200
0
5024
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
5025
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5026
* def title = get response //citation/CI_Citation/title/CharacterString
0
5027
* def email = get response //electronicMailAddress/CharacterString
0
5028
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5029
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5030
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5031
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5032
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5033
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5034
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5035
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5036
* print organisationpath
0
10:30:50.445 [print] TNO Geologische Dienst Nederland
5037
* print operateson
0
10:30:50.445 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5038
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5039
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5040
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.141:18]315a465b-e95d-46ea-9d97-8bbee81844cc
ms: 314
>>
Background:
5041
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5042
* def mystorage = Java.type('storage.DataStorage')
1
5043
* def db = new mystorage
1
5044
* def db = db.setfeature(karate.info.featureFileName)
2
5045
* def separator = java.lang.System.getProperty("file.separator")
2
5046
* def outputpath = db.outputpath()
1
5047
* eval db.ensureDirectory(outputpath)
1
5048
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5049
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5050
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5051
Given path 'geonetwork/srv/dut/inspire'
0
5052
And param service = 'CSW'
0
5053
And param version = '2.0.2'
0
5054
And param request = 'GetRecordById'
0
5055
And param id = '315a465b-e95d-46ea-9d97-8bbee81844cc'
0
5056
And param elementsetname = 'full'
0
5057
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5058
When method get
303
5059
Then status 200
0
5060
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '315a465b-e95d-46ea-9d97-8bbee81844cc'
1
5061
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5062
* def title = get response //citation/CI_Citation/title/CharacterString
1
5063
* def email = get response //electronicMailAddress/CharacterString
0
5064
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5065
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5066
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5067
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5068
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5069
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5070
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5071
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5072
* print organisationpath
0
10:30:50.569 [print] Beheer PDOK
5073
* print operateson
0
10:30:50.569 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
5074
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5075
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5076
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.142:18]f0c6fbfe-a172-4223-8af3-58f6a28c881d
ms: 311
>>
Background:
5077
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5078
* def mystorage = Java.type('storage.DataStorage')
1
5079
* def db = new mystorage
1
5080
* def db = db.setfeature(karate.info.featureFileName)
2
5081
* def separator = java.lang.System.getProperty("file.separator")
2
5082
* def outputpath = db.outputpath()
1
5083
* eval db.ensureDirectory(outputpath)
1
5084
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5085
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5086
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5087
Given path 'geonetwork/srv/dut/inspire'
0
5088
And param service = 'CSW'
0
5089
And param version = '2.0.2'
0
5090
And param request = 'GetRecordById'
0
5091
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
0
5092
And param elementsetname = 'full'
0
5093
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5094
When method get
300
5095
Then status 200
0
5096
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
5097
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5098
* def title = get response //citation/CI_Citation/title/CharacterString
0
5099
* def email = get response //electronicMailAddress/CharacterString
0
5100
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5101
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5102
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5103
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5104
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5105
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5106
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5107
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5108
* print organisationpath
0
10:30:50.628 [print] Beheer PDOK
5109
* print operateson
0
10:30:50.628 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification
5110
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5111
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5112
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.143:18]488c1e6d-363e-4476-b2ff-17756ac9b35f
ms: 356
>>
Background:
5113
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5114
* def mystorage = Java.type('storage.DataStorage')
1
5115
* def db = new mystorage
1
5116
* def db = db.setfeature(karate.info.featureFileName)
2
5117
* def separator = java.lang.System.getProperty("file.separator")
2
5118
* def outputpath = db.outputpath()
1
5119
* eval db.ensureDirectory(outputpath)
1
5120
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5121
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5122
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5123
Given path 'geonetwork/srv/dut/inspire'
1
5124
And param service = 'CSW'
0
5125
And param version = '2.0.2'
0
5126
And param request = 'GetRecordById'
0
5127
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f'
0
5128
And param elementsetname = 'full'
0
5129
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5130
When method get
308
5131
Then status 200
0
5132
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f'
1
5133
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5134
* def title = get response //citation/CI_Citation/title/CharacterString
1
5135
* def email = get response //electronicMailAddress/CharacterString
1
5136
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5137
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5138
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5139
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5140
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5141
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5142
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5143
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5144
* print organisationpath
0
10:30:50.680 [print] Beheer PDOK
5145
* print operateson
22
10:30:50.702 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
5146
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5147
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5148
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
12
Scenario Outline: [1.144:18]008d85d1-460d-46f6-9af4-98afdedbc4dc
ms: 313
>>
Background:
5149
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5150
* def mystorage = Java.type('storage.DataStorage')
1
5151
* def db = new mystorage
1
5152
* def db = db.setfeature(karate.info.featureFileName)
2
5153
* def separator = java.lang.System.getProperty("file.separator")
2
5154
* def outputpath = db.outputpath()
1
5155
* eval db.ensureDirectory(outputpath)
1
5156
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5157
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5158
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5159
Given path 'geonetwork/srv/dut/inspire'
0
5160
And param service = 'CSW'
0
5161
And param version = '2.0.2'
0
5162
And param request = 'GetRecordById'
0
5163
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc'
0
5164
And param elementsetname = 'full'
0
5165
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5166
When method get
303
5167
Then status 200
0
5168
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc'
1
5169
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5170
* def title = get response //citation/CI_Citation/title/CharacterString
0
5171
* def email = get response //electronicMailAddress/CharacterString
0
5172
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5173
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5174
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5175
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5176
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5177
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5178
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5179
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5180
* print organisationpath
0
10:30:50.759 [print] Beheer PDOK
5181
* print operateson
0
10:30:50.759 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
5182
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5183
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5184
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.145:18]d94b1eca-8a7d-4dc4-b979-36257878758f
ms: 307
>>
Background:
5185
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5186
* def mystorage = Java.type('storage.DataStorage')
1
5187
* def db = new mystorage
1
5188
* def db = db.setfeature(karate.info.featureFileName)
2
5189
* def separator = java.lang.System.getProperty("file.separator")
2
5190
* def outputpath = db.outputpath()
1
5191
* eval db.ensureDirectory(outputpath)
1
5192
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5193
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5194
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5195
Given path 'geonetwork/srv/dut/inspire'
0
5196
And param service = 'CSW'
0
5197
And param version = '2.0.2'
0
5198
And param request = 'GetRecordById'
0
5199
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f'
0
5200
And param elementsetname = 'full'
0
5201
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5202
When method get
290
5203
Then status 200
0
5204
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f'
1
5205
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5206
* def title = get response //citation/CI_Citation/title/CharacterString
1
5207
* def email = get response //electronicMailAddress/CharacterString
1
5208
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5209
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5210
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5211
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5212
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5213
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5214
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
5215
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5216
* print organisationpath
0
10:30:50.877 [print] PDOK
5217
* print operateson
0
10:30:50.877 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
5218
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5219
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5220
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.146:18]171b28f6-7ee7-46f9-b3b3-06d0baaa33db
ms: 314
>>
Background:
5221
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5222
* def mystorage = Java.type('storage.DataStorage')
1
5223
* def db = new mystorage
1
5224
* def db = db.setfeature(karate.info.featureFileName)
2
5225
* def separator = java.lang.System.getProperty("file.separator")
2
5226
* def outputpath = db.outputpath()
1
5227
* eval db.ensureDirectory(outputpath)
1
5228
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5229
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5230
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5231
Given path 'geonetwork/srv/dut/inspire'
1
5232
And param service = 'CSW'
0
5233
And param version = '2.0.2'
0
5234
And param request = 'GetRecordById'
0
5235
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
0
5236
And param elementsetname = 'full'
0
5237
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5238
When method get
302
5239
Then status 200
0
5240
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
1
5241
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5242
* def title = get response //citation/CI_Citation/title/CharacterString
0
5243
* def email = get response //electronicMailAddress/CharacterString
1
5244
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5245
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5246
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5247
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5248
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5249
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5250
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5251
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5252
* print organisationpath
0
10:30:50.942 [print] Beheer PDOK
5253
* print operateson
0
10:30:50.942 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
5254
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5255
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5256
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.147:18]e264c1e4-90fe-4968-bbf2-7019f6095348
ms: 297
>>
Background:
5257
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5258
* def mystorage = Java.type('storage.DataStorage')
1
5259
* def db = new mystorage
1
5260
* def db = db.setfeature(karate.info.featureFileName)
2
5261
* def separator = java.lang.System.getProperty("file.separator")
2
5262
* def outputpath = db.outputpath()
1
5263
* eval db.ensureDirectory(outputpath)
1
5264
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5265
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5266
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5267
Given path 'geonetwork/srv/dut/inspire'
0
5268
And param service = 'CSW'
0
5269
And param version = '2.0.2'
0
5270
And param request = 'GetRecordById'
0
5271
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348'
1
5272
And param elementsetname = 'full'
0
5273
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5274
When method get
286
5275
Then status 200
0
5276
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348'
1
5277
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5278
* def title = get response //citation/CI_Citation/title/CharacterString
0
5279
* def email = get response //electronicMailAddress/CharacterString
0
5280
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5281
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5282
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5283
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5284
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5285
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5286
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5287
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5288
* print organisationpath
0
10:30:51.010 [print] Beheer PDOK
5289
* print operateson
0
10:30:51.010 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification" ]
5290
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5291
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5292
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.148:18]6de8b875-c4c2-4469-ac80-0782bb67f285
ms: 296
>>
Background:
5293
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5294
* def mystorage = Java.type('storage.DataStorage')
1
5295
* def db = new mystorage
1
5296
* def db = db.setfeature(karate.info.featureFileName)
2
5297
* def separator = java.lang.System.getProperty("file.separator")
2
5298
* def outputpath = db.outputpath()
1
5299
* eval db.ensureDirectory(outputpath)
1
5300
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5301
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5302
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5303
Given path 'geonetwork/srv/dut/inspire'
0
5304
And param service = 'CSW'
0
5305
And param version = '2.0.2'
0
5306
And param request = 'GetRecordById'
0
5307
And param id = '6de8b875-c4c2-4469-ac80-0782bb67f285'
0
5308
And param elementsetname = 'full'
0
5309
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5310
When method get
285
5311
Then status 200
0
5312
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6de8b875-c4c2-4469-ac80-0782bb67f285'
1
5313
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5314
* def title = get response //citation/CI_Citation/title/CharacterString
0
5315
* def email = get response //electronicMailAddress/CharacterString
0
5316
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5317
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5318
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5319
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5320
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5321
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5322
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5323
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5324
* print organisationpath
0
10:30:51.055 [print] Beheer PDOK
5325
* print operateson
0
10:30:51.056 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
5326
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5327
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5328
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.149:18]1d568785-efdd-429d-b491-56f785c3656a
ms: 302
>>
Background:
5329
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5330
* def mystorage = Java.type('storage.DataStorage')
1
5331
* def db = new mystorage
1
5332
* def db = db.setfeature(karate.info.featureFileName)
2
5333
* def separator = java.lang.System.getProperty("file.separator")
2
5334
* def outputpath = db.outputpath()
1
5335
* eval db.ensureDirectory(outputpath)
1
5336
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5337
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5338
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5339
Given path 'geonetwork/srv/dut/inspire'
1
5340
And param service = 'CSW'
0
5341
And param version = '2.0.2'
0
5342
And param request = 'GetRecordById'
0
5343
And param id = '1d568785-efdd-429d-b491-56f785c3656a'
1
5344
And param elementsetname = 'full'
0
5345
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5346
When method get
291
5347
Then status 200
0
5348
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1d568785-efdd-429d-b491-56f785c3656a'
1
5349
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5350
* def title = get response //citation/CI_Citation/title/CharacterString
0
5351
* def email = get response //electronicMailAddress/CharacterString
0
5352
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5353
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5354
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5355
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5356
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5357
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5358
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5359
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5360
* print organisationpath
0
10:30:51.180 [print] Beheer PDOK
5361
* print operateson
0
10:30:51.180 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
5362
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5363
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5364
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.150:18]03c48a93-1e31-4c69-92c6-9a7efecf67a9
ms: 294
>>
Background:
5365
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5366
* def mystorage = Java.type('storage.DataStorage')
1
5367
* def db = new mystorage
1
5368
* def db = db.setfeature(karate.info.featureFileName)
2
5369
* def separator = java.lang.System.getProperty("file.separator")
2
5370
* def outputpath = db.outputpath()
1
5371
* eval db.ensureDirectory(outputpath)
1
5372
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5373
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5374
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5375
Given path 'geonetwork/srv/dut/inspire'
1
5376
And param service = 'CSW'
0
5377
And param version = '2.0.2'
0
5378
And param request = 'GetRecordById'
0
5379
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
5380
And param elementsetname = 'full'
0
5381
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5382
When method get
282
5383
Then status 200
0
5384
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
5385
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5386
* def title = get response //citation/CI_Citation/title/CharacterString
0
5387
* def email = get response //electronicMailAddress/CharacterString
0
5388
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5389
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5390
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5391
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5392
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5393
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5394
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5395
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5396
* print organisationpath
0
10:30:51.237 [print] Beheer PDOK
5397
* print operateson
0
10:30:51.237 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b137b8-2317-42c2-aced-204c4216d68d" ]
5398
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5399
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5400
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.151:18]1c0dcc64-91aa-4d44-a9e3-54355556f5e7
ms: 294
>>
Background:
5401
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5402
* def mystorage = Java.type('storage.DataStorage')
1
5403
* def db = new mystorage
1
5404
* def db = db.setfeature(karate.info.featureFileName)
2
5405
* def separator = java.lang.System.getProperty("file.separator")
2
5406
* def outputpath = db.outputpath()
1
5407
* eval db.ensureDirectory(outputpath)
1
5408
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5409
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5410
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5411
Given path 'geonetwork/srv/dut/inspire'
1
5412
And param service = 'CSW'
0
5413
And param version = '2.0.2'
0
5414
And param request = 'GetRecordById'
0
5415
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
0
5416
And param elementsetname = 'full'
0
5417
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5418
When method get
282
5419
Then status 200
0
5420
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
1
5421
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5422
* def title = get response //citation/CI_Citation/title/CharacterString
1
5423
* def email = get response //electronicMailAddress/CharacterString
1
5424
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5425
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5426
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5427
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5428
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5429
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5430
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5431
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5432
* print organisationpath
0
10:30:51.304 [print] Beheer PDOK
5433
* print operateson
0
10:30:51.305 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
5434
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5435
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5436
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.152:18]97cf6a64-9cfc-4ce6-9741-2db44fd27fca
ms: 278
>>
Background:
5437
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5438
* def mystorage = Java.type('storage.DataStorage')
1
5439
* def db = new mystorage
1
5440
* def db = db.setfeature(karate.info.featureFileName)
2
5441
* def separator = java.lang.System.getProperty("file.separator")
2
5442
* def outputpath = db.outputpath()
1
5443
* eval db.ensureDirectory(outputpath)
1
5444
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5445
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5446
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5447
Given path 'geonetwork/srv/dut/inspire'
0
5448
And param service = 'CSW'
0
5449
And param version = '2.0.2'
0
5450
And param request = 'GetRecordById'
0
5451
And param id = '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
0
5452
And param elementsetname = 'full'
0
5453
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5454
When method get
268
5455
Then status 200
0
5456
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
0
5457
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5458
* def title = get response //citation/CI_Citation/title/CharacterString
0
5459
* def email = get response //electronicMailAddress/CharacterString
0
5460
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5461
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5462
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5463
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5464
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5465
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5466
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5467
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5468
* print organisationpath
0
10:30:51.333 [print] Beheer PDOK
5469
* print operateson
0
10:30:51.334 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5470
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5471
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5472
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.153:18]e258f171-6f56-4d4d-8311-027b30213c2d
ms: 293
>>
Background:
5473
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5474
* def mystorage = Java.type('storage.DataStorage')
1
5475
* def db = new mystorage
1
5476
* def db = db.setfeature(karate.info.featureFileName)
2
5477
* def separator = java.lang.System.getProperty("file.separator")
2
5478
* def outputpath = db.outputpath()
1
5479
* eval db.ensureDirectory(outputpath)
1
5480
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5481
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5482
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5483
Given path 'geonetwork/srv/dut/inspire'
1
5484
And param service = 'CSW'
0
5485
And param version = '2.0.2'
0
5486
And param request = 'GetRecordById'
0
5487
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
5488
And param elementsetname = 'full'
0
5489
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5490
When method get
282
5491
Then status 200
0
5492
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
5493
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5494
* def title = get response //citation/CI_Citation/title/CharacterString
0
5495
* def email = get response //electronicMailAddress/CharacterString
0
5496
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5497
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5498
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5499
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5500
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5501
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5502
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5503
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5504
* print organisationpath
0
10:30:51.474 [print] Beheer PDOK
5505
* print operateson
0
10:30:51.474 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
5506
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5507
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5508
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.154:18]f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8
ms: 320
>>
Background:
5509
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5510
* def mystorage = Java.type('storage.DataStorage')
1
5511
* def db = new mystorage
1
5512
* def db = db.setfeature(karate.info.featureFileName)
2
5513
* def separator = java.lang.System.getProperty("file.separator")
2
5514
* def outputpath = db.outputpath()
1
5515
* eval db.ensureDirectory(outputpath)
1
5516
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5517
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5518
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5519
Given path 'geonetwork/srv/dut/inspire'
0
5520
And param service = 'CSW'
0
5521
And param version = '2.0.2'
0
5522
And param request = 'GetRecordById'
0
5523
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
0
5524
And param elementsetname = 'full'
0
5525
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5526
When method get
309
5527
Then status 200
0
5528
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
1
5529
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5530
* def title = get response //citation/CI_Citation/title/CharacterString
1
5531
* def email = get response //electronicMailAddress/CharacterString
1
5532
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5533
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5534
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5535
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5536
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5537
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5538
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5539
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5540
* print organisationpath
0
10:30:51.558 [print] Beheer PDOK
5541
* print operateson
0
10:30:51.558 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8f0497f0-dbd7-4bee-b85a-5fdec484a7ff#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification" ]
5542
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5543
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5544
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.155:18]918388cf-9d8c-4264-b108-3e375bde0d52
ms: 325
>>
Background:
5545
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5546
* def mystorage = Java.type('storage.DataStorage')
1
5547
* def db = new mystorage
1
5548
* def db = db.setfeature(karate.info.featureFileName)
2
5549
* def separator = java.lang.System.getProperty("file.separator")
2
5550
* def outputpath = db.outputpath()
1
5551
* eval db.ensureDirectory(outputpath)
1
5552
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5553
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5554
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5555
Given path 'geonetwork/srv/dut/inspire'
0
5556
And param service = 'CSW'
0
5557
And param version = '2.0.2'
0
5558
And param request = 'GetRecordById'
0
5559
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52'
0
5560
And param elementsetname = 'full'
0
5561
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5562
When method get
313
5563
Then status 200
0
5564
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52'
1
5565
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5566
* def title = get response //citation/CI_Citation/title/CharacterString
1
5567
* def email = get response //electronicMailAddress/CharacterString
1
5568
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5569
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5570
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5571
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5572
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5573
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5574
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5575
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5576
* print organisationpath
0
10:30:51.630 [print] Beheer PDOK
5577
* print operateson
0
10:30:51.630 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification" ]
5578
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5579
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5580
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.156:18]62c0d0a5-5826-406d-a625-d84bc5fec800
ms: 340
>>
Background:
5581
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5582
* def mystorage = Java.type('storage.DataStorage')
1
5583
* def db = new mystorage
1
5584
* def db = db.setfeature(karate.info.featureFileName)
2
5585
* def separator = java.lang.System.getProperty("file.separator")
2
5586
* def outputpath = db.outputpath()
1
5587
* eval db.ensureDirectory(outputpath)
1
5588
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5589
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5590
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5591
Given path 'geonetwork/srv/dut/inspire'
0
5592
And param service = 'CSW'
0
5593
And param version = '2.0.2'
0
5594
And param request = 'GetRecordById'
0
5595
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
5596
And param elementsetname = 'full'
0
5597
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5598
When method get
322
5599
Then status 200
0
5600
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
5601
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5602
* def title = get response //citation/CI_Citation/title/CharacterString
1
5603
* def email = get response //electronicMailAddress/CharacterString
1
5604
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5605
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5606
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5607
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5608
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5609
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5610
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5611
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5612
* print organisationpath
4
10:30:51.673 [print] Beheer PDOK
5613
* print operateson
2
10:30:51.674 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification" ]
5614
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5615
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5616
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.157:18]f917ffa9-1531-48ea-867e-0d413d85b05a
ms: 286
>>
Background:
5617
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5618
* def mystorage = Java.type('storage.DataStorage')
1
5619
* def db = new mystorage
1
5620
* def db = db.setfeature(karate.info.featureFileName)
2
5621
* def separator = java.lang.System.getProperty("file.separator")
2
5622
* def outputpath = db.outputpath()
1
5623
* eval db.ensureDirectory(outputpath)
1
5624
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5625
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5626
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5627
Given path 'geonetwork/srv/dut/inspire'
0
5628
And param service = 'CSW'
0
5629
And param version = '2.0.2'
0
5630
And param request = 'GetRecordById'
0
5631
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
5632
And param elementsetname = 'full'
0
5633
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5634
When method get
274
5635
Then status 200
0
5636
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
5637
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5638
* def title = get response //citation/CI_Citation/title/CharacterString
1
5639
* def email = get response //electronicMailAddress/CharacterString
1
5640
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5641
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5642
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5643
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5644
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5645
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5646
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5647
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5648
* print organisationpath
0
10:30:51.760 [print] Beheer PDOK
5649
* print operateson
0
10:30:51.760 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4b137b8-2317-42c2-aced-204c4216d68d", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e" ]
5650
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5651
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5652
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.158:18]598c4109-21d2-4a6c-b083-9975a6736853
ms: 310
>>
Background:
5653
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5654
* def mystorage = Java.type('storage.DataStorage')
1
5655
* def db = new mystorage
1
5656
* def db = db.setfeature(karate.info.featureFileName)
2
5657
* def separator = java.lang.System.getProperty("file.separator")
2
5658
* def outputpath = db.outputpath()
1
5659
* eval db.ensureDirectory(outputpath)
1
5660
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5661
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5662
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5663
Given path 'geonetwork/srv/dut/inspire'
1
5664
And param service = 'CSW'
0
5665
And param version = '2.0.2'
0
5666
And param request = 'GetRecordById'
0
5667
And param id = '598c4109-21d2-4a6c-b083-9975a6736853'
1
5668
And param elementsetname = 'full'
0
5669
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5670
When method get
286
5671
Then status 200
0
5672
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853'
1
5673
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5674
* def title = get response //citation/CI_Citation/title/CharacterString
1
5675
* def email = get response //electronicMailAddress/CharacterString
0
5676
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5677
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5678
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5679
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5680
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5681
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5682
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5683
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5684
* print organisationpath
0
10:30:51.856 [print] Beheer PDOK
5685
* print operateson
0
10:30:51.856 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification" ]
5686
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5687
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5688
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
14
Scenario Outline: [1.159:18]67bcc21d-beda-449d-975c-00a4fa80f2b7
ms: 312
>>
Background:
5689
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5690
* def mystorage = Java.type('storage.DataStorage')
1
5691
* def db = new mystorage
1
5692
* def db = db.setfeature(karate.info.featureFileName)
2
5693
* def separator = java.lang.System.getProperty("file.separator")
2
5694
* def outputpath = db.outputpath()
1
5695
* eval db.ensureDirectory(outputpath)
1
5696
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5697
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5698
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5699
Given path 'geonetwork/srv/dut/inspire'
1
5700
And param service = 'CSW'
0
5701
And param version = '2.0.2'
0
5702
And param request = 'GetRecordById'
0
5703
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7'
0
5704
And param elementsetname = 'full'
0
5705
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5706
When method get
301
5707
Then status 200
0
5708
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7'
1
5709
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5710
* def title = get response //citation/CI_Citation/title/CharacterString
0
5711
* def email = get response //electronicMailAddress/CharacterString
0
5712
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5713
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5714
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5715
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5716
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5717
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5718
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5719
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5720
* print organisationpath
0
10:30:51.943 [print] Beheer PDOK
5721
* print operateson
0
10:30:51.943 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
5722
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5723
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5724
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.160:18]c0a8e0ee-8639-44d4-be07-d7edf9c276c7
ms: 302
>>
Background:
5725
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5726
* def mystorage = Java.type('storage.DataStorage')
1
5727
* def db = new mystorage
1
5728
* def db = db.setfeature(karate.info.featureFileName)
2
5729
* def separator = java.lang.System.getProperty("file.separator")
2
5730
* def outputpath = db.outputpath()
1
5731
* eval db.ensureDirectory(outputpath)
1
5732
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5733
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5734
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5735
Given path 'geonetwork/srv/dut/inspire'
1
5736
And param service = 'CSW'
0
5737
And param version = '2.0.2'
0
5738
And param request = 'GetRecordById'
0
5739
And param id = 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
0
5740
And param elementsetname = 'full'
0
5741
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5742
When method get
292
5743
Then status 200
0
5744
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
1
5745
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5746
* def title = get response //citation/CI_Citation/title/CharacterString
0
5747
* def email = get response //electronicMailAddress/CharacterString
0
5748
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5749
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5750
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5751
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5752
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5753
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5754
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5755
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5756
* print organisationpath
0
10:30:51.978 [print] Beheer PDOK
5757
* print operateson
0
10:30:51.978 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
5758
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5759
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5760
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.161:18]7e87a655-c4eb-404d-9d0a-efa2dccef7cc
ms: 299
>>
Background:
5761
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5762
* def mystorage = Java.type('storage.DataStorage')
1
5763
* def db = new mystorage
1
5764
* def db = db.setfeature(karate.info.featureFileName)
2
5765
* def separator = java.lang.System.getProperty("file.separator")
2
5766
* def outputpath = db.outputpath()
1
5767
* eval db.ensureDirectory(outputpath)
1
5768
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5769
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5770
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5771
Given path 'geonetwork/srv/dut/inspire'
1
5772
And param service = 'CSW'
0
5773
And param version = '2.0.2'
0
5774
And param request = 'GetRecordById'
0
5775
And param id = '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
1
5776
And param elementsetname = 'full'
0
5777
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5778
When method get
286
5779
Then status 200
0
5780
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
1
5781
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5782
* def title = get response //citation/CI_Citation/title/CharacterString
1
5783
* def email = get response //electronicMailAddress/CharacterString
0
5784
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5785
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5786
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5787
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5788
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5789
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5790
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5791
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5792
* print organisationpath
0
10:30:52.059 [print] Beheer PDOK
5793
* print operateson
0
10:30:52.059 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
5794
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5795
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5796
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.162:18]ce963e61-779f-470f-a99d-48d9796e5ba3
ms: 301
>>
Background:
5797
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5798
* def mystorage = Java.type('storage.DataStorage')
1
5799
* def db = new mystorage
1
5800
* def db = db.setfeature(karate.info.featureFileName)
2
5801
* def separator = java.lang.System.getProperty("file.separator")
2
5802
* def outputpath = db.outputpath()
1
5803
* eval db.ensureDirectory(outputpath)
1
5804
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5805
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5806
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5807
Given path 'geonetwork/srv/dut/inspire'
1
5808
And param service = 'CSW'
0
5809
And param version = '2.0.2'
0
5810
And param request = 'GetRecordById'
0
5811
And param id = 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
5812
And param elementsetname = 'full'
0
5813
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5814
When method get
290
5815
Then status 200
0
5816
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
5817
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5818
* def title = get response //citation/CI_Citation/title/CharacterString
0
5819
* def email = get response //electronicMailAddress/CharacterString
1
5820
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5821
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5822
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5823
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5824
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5825
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5826
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5827
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5828
* print organisationpath
0
10:30:52.170 [print] Beheer PDOK
5829
* print operateson
0
10:30:52.171 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
5830
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5831
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5832
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.163:18]108fec55-e467-4d04-ab35-fd0d7060e3e2
ms: 383
>>
Background:
5833
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5834
* def mystorage = Java.type('storage.DataStorage')
1
5835
* def db = new mystorage
1
5836
* def db = db.setfeature(karate.info.featureFileName)
2
5837
* def separator = java.lang.System.getProperty("file.separator")
2
5838
* def outputpath = db.outputpath()
1
5839
* eval db.ensureDirectory(outputpath)
1
5840
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5841
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5842
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5843
Given path 'geonetwork/srv/dut/inspire'
0
5844
And param service = 'CSW'
0
5845
And param version = '2.0.2'
0
5846
And param request = 'GetRecordById'
0
5847
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2'
0
5848
And param elementsetname = 'full'
0
5849
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5850
When method get
372
5851
Then status 200
0
5852
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2'
1
5853
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5854
* def title = get response //citation/CI_Citation/title/CharacterString
0
5855
* def email = get response //electronicMailAddress/CharacterString
0
5856
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5857
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5858
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5859
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5860
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5861
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5862
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5863
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5864
* print organisationpath
0
10:30:52.326 [print] Beheer PDOK
5865
* print operateson
0
10:30:52.327 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification" ]
5866
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5867
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5868
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.164:18]1ce74355-763a-481d-b9d7-aaafbf0d7d53
ms: 409
>>
Background:
5869
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5870
* def mystorage = Java.type('storage.DataStorage')
1
5871
* def db = new mystorage
1
5872
* def db = db.setfeature(karate.info.featureFileName)
2
5873
* def separator = java.lang.System.getProperty("file.separator")
2
5874
* def outputpath = db.outputpath()
1
5875
* eval db.ensureDirectory(outputpath)
1
5876
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5877
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5878
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5879
Given path 'geonetwork/srv/dut/inspire'
0
5880
And param service = 'CSW'
0
5881
And param version = '2.0.2'
0
5882
And param request = 'GetRecordById'
0
5883
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
0
5884
And param elementsetname = 'full'
0
5885
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5886
When method get
387
5887
Then status 200
0
5888
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
1
5889
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5890
* def title = get response //citation/CI_Citation/title/CharacterString
1
5891
* def email = get response //electronicMailAddress/CharacterString
1
5892
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5893
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5894
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5895
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5896
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5897
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5898
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5899
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5900
* print organisationpath
0
10:30:52.382 [print] Beheer PDOK
5901
* print operateson
0
10:30:52.382 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
5902
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5903
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5904
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.165:18]598c4109-21d2-4a6c-b083-9975a6736849
ms: 361
>>
Background:
5905
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5906
* def mystorage = Java.type('storage.DataStorage')
1
5907
* def db = new mystorage
1
5908
* def db = db.setfeature(karate.info.featureFileName)
2
5909
* def separator = java.lang.System.getProperty("file.separator")
2
5910
* def outputpath = db.outputpath()
1
5911
* eval db.ensureDirectory(outputpath)
1
5912
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5913
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5914
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5915
Given path 'geonetwork/srv/dut/inspire'
0
5916
And param service = 'CSW'
0
5917
And param version = '2.0.2'
0
5918
And param request = 'GetRecordById'
0
5919
And param id = '598c4109-21d2-4a6c-b083-9975a6736849'
1
5920
And param elementsetname = 'full'
0
5921
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5922
When method get
342
5923
Then status 200
0
5924
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849'
1
5925
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5926
* def title = get response //citation/CI_Citation/title/CharacterString
1
5927
* def email = get response //electronicMailAddress/CharacterString
0
5928
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5929
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5930
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5931
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5932
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5933
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5934
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5935
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5936
* print organisationpath
8
10:30:52.421 [print] Beheer PDOK
5937
* print operateson
0
10:30:52.421 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification" ]
5938
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5939
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5940
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.166:18]280cee65-1b66-4973-a569-75122e0b745b
ms: 291
>>
Background:
5941
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5942
* def mystorage = Java.type('storage.DataStorage')
1
5943
* def db = new mystorage
1
5944
* def db = db.setfeature(karate.info.featureFileName)
2
5945
* def separator = java.lang.System.getProperty("file.separator")
2
5946
* def outputpath = db.outputpath()
1
5947
* eval db.ensureDirectory(outputpath)
1
5948
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5949
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5950
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5951
Given path 'geonetwork/srv/dut/inspire'
0
5952
And param service = 'CSW'
0
5953
And param version = '2.0.2'
0
5954
And param request = 'GetRecordById'
0
5955
And param id = '280cee65-1b66-4973-a569-75122e0b745b'
0
5956
And param elementsetname = 'full'
0
5957
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5958
When method get
280
5959
Then status 200
0
5960
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b'
1
5961
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5962
* def title = get response //citation/CI_Citation/title/CharacterString
0
5963
* def email = get response //electronicMailAddress/CharacterString
0
5964
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5965
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5966
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5967
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5968
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5969
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5970
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5971
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5972
* print organisationpath
0
10:30:52.461 [print] Beheer PDOK
5973
* print operateson
0
10:30:52.462 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification" ]
5974
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5975
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5976
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.167:18]ee543323-0fe4-4353-9161-eda61ff26c07
ms: 294
>>
Background:
5977
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
5978
* def mystorage = Java.type('storage.DataStorage')
1
5979
* def db = new mystorage
1
5980
* def db = db.setfeature(karate.info.featureFileName)
2
5981
* def separator = java.lang.System.getProperty("file.separator")
2
5982
* def outputpath = db.outputpath()
1
5983
* eval db.ensureDirectory(outputpath)
1
5984
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5985
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5986
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5987
Given path 'geonetwork/srv/dut/inspire'
1
5988
And param service = 'CSW'
0
5989
And param version = '2.0.2'
0
5990
And param request = 'GetRecordById'
0
5991
And param id = 'ee543323-0fe4-4353-9161-eda61ff26c07'
0
5992
And param elementsetname = 'full'
0
5993
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5994
When method get
283
5995
Then status 200
0
5996
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ee543323-0fe4-4353-9161-eda61ff26c07'
1
5997
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5998
* def title = get response //citation/CI_Citation/title/CharacterString
0
5999
* def email = get response //electronicMailAddress/CharacterString
0
6000
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6001
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6002
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6003
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6004
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6005
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6006
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6007
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6008
* print organisationpath
0
10:30:52.621 [print] Beheer PDOK
6009
* print operateson
0
10:30:52.621 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
6010
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6011
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6012
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.168:18]74620aa8-4fa2-414d-8350-50d93e500da8
ms: 289
>>
Background:
6013
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6014
* def mystorage = Java.type('storage.DataStorage')
1
6015
* def db = new mystorage
1
6016
* def db = db.setfeature(karate.info.featureFileName)
2
6017
* def separator = java.lang.System.getProperty("file.separator")
2
6018
* def outputpath = db.outputpath()
1
6019
* eval db.ensureDirectory(outputpath)
1
6020
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6021
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6022
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6023
Given path 'geonetwork/srv/dut/inspire'
1
6024
And param service = 'CSW'
0
6025
And param version = '2.0.2'
0
6026
And param request = 'GetRecordById'
0
6027
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8'
0
6028
And param elementsetname = 'full'
0
6029
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6030
When method get
278
6031
Then status 200
0
6032
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8'
1
6033
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6034
* def title = get response //citation/CI_Citation/title/CharacterString
0
6035
* def email = get response //electronicMailAddress/CharacterString
0
6036
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6037
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6038
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6039
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6040
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6041
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6042
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6043
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6044
* print organisationpath
0
10:30:52.677 [print] Beheer PDOK
6045
* print operateson
0
10:30:52.677 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification" ]
6046
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6047
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6048
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.169:18]93a9571d-1754-47ee-a8f9-92633abfab3a
ms: 321
>>
Background:
6049
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6050
* def mystorage = Java.type('storage.DataStorage')
1
6051
* def db = new mystorage
1
6052
* def db = db.setfeature(karate.info.featureFileName)
2
6053
* def separator = java.lang.System.getProperty("file.separator")
2
6054
* def outputpath = db.outputpath()
1
6055
* eval db.ensureDirectory(outputpath)
1
6056
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6057
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6058
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6059
Given path 'geonetwork/srv/dut/inspire'
0
6060
And param service = 'CSW'
0
6061
And param version = '2.0.2'
0
6062
And param request = 'GetRecordById'
0
6063
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a'
0
6064
And param elementsetname = 'full'
0
6065
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6066
When method get
310
6067
Then status 200
0
6068
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a'
1
6069
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6070
* def title = get response //citation/CI_Citation/title/CharacterString
0
6071
* def email = get response //electronicMailAddress/CharacterString
0
6072
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6073
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6074
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6075
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6076
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6077
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6078
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6079
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6080
* print organisationpath
0
10:30:52.742 [print] Beheer PDOK
6081
* print operateson
0
10:30:52.742 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6082
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6083
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
6084
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.170:18]ce4ac3b9-8291-498d-95de-79fe7b6f5259
ms: 337
>>
Background:
6085
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6086
* def mystorage = Java.type('storage.DataStorage')
1
6087
* def db = new mystorage
1
6088
* def db = db.setfeature(karate.info.featureFileName)
2
6089
* def separator = java.lang.System.getProperty("file.separator")
2
6090
* def outputpath = db.outputpath()
1
6091
* eval db.ensureDirectory(outputpath)
1
6092
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6093
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6094
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6095
Given path 'geonetwork/srv/dut/inspire'
0
6096
And param service = 'CSW'
0
6097
And param version = '2.0.2'
0
6098
And param request = 'GetRecordById'
0
6099
And param id = 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
0
6100
And param elementsetname = 'full'
0
6101
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6102
When method get
325
6103
Then status 200
0
6104
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
1
6105
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6106
* def title = get response //citation/CI_Citation/title/CharacterString
0
6107
* def email = get response //electronicMailAddress/CharacterString
1
6108
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6109
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6110
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6111
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6112
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6113
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6114
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6115
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6116
* print organisationpath
0
10:30:52.799 [print] Beheer PDOK
6117
* print operateson
0
10:30:52.799 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
6118
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6119
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6120
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.171:18]8129296b-b9c1-489f-990a-df4a879e12b2
ms: 309
>>
Background:
6121
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6122
* def mystorage = Java.type('storage.DataStorage')
1
6123
* def db = new mystorage
1
6124
* def db = db.setfeature(karate.info.featureFileName)
2
6125
* def separator = java.lang.System.getProperty("file.separator")
2
6126
* def outputpath = db.outputpath()
1
6127
* eval db.ensureDirectory(outputpath)
1
6128
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6129
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6130
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6131
Given path 'geonetwork/srv/dut/inspire'
1
6132
And param service = 'CSW'
0
6133
And param version = '2.0.2'
0
6134
And param request = 'GetRecordById'
0
6135
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2'
1
6136
And param elementsetname = 'full'
0
6137
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6138
When method get
298
6139
Then status 200
0
6140
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2'
0
6141
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6142
* def title = get response //citation/CI_Citation/title/CharacterString
0
6143
* def email = get response //electronicMailAddress/CharacterString
0
6144
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6145
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6146
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6147
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6148
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6149
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6150
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6151
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6152
* print organisationpath
0
10:30:52.930 [print] Beheer PDOK
6153
* print operateson
0
10:30:52.930 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification
6154
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6155
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6156
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.172:18]7b8f44b5-6eae-4113-a835-84b8678c3dd5
ms: 305
>>
Background:
6157
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6158
* def mystorage = Java.type('storage.DataStorage')
1
6159
* def db = new mystorage
1
6160
* def db = db.setfeature(karate.info.featureFileName)
2
6161
* def separator = java.lang.System.getProperty("file.separator")
2
6162
* def outputpath = db.outputpath()
1
6163
* eval db.ensureDirectory(outputpath)
1
6164
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6165
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6166
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6167
Given path 'geonetwork/srv/dut/inspire'
0
6168
And param service = 'CSW'
0
6169
And param version = '2.0.2'
0
6170
And param request = 'GetRecordById'
0
6171
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
6172
And param elementsetname = 'full'
0
6173
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6174
When method get
293
6175
Then status 200
0
6176
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
6177
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6178
* def title = get response //citation/CI_Citation/title/CharacterString
0
6179
* def email = get response //electronicMailAddress/CharacterString
0
6180
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6181
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6182
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6183
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6184
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6185
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6186
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6187
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6188
* print organisationpath
0
10:30:52.981 [print] Beheer PDOK
6189
* print operateson
0
10:30:52.981 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
6190
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6191
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6192
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.173:18]101a2cc7-bb53-4a16-98f9-bab1f4745b01
ms: 375
>>
Background:
6193
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6194
* def mystorage = Java.type('storage.DataStorage')
1
6195
* def db = new mystorage
1
6196
* def db = db.setfeature(karate.info.featureFileName)
2
6197
* def separator = java.lang.System.getProperty("file.separator")
2
6198
* def outputpath = db.outputpath()
1
6199
* eval db.ensureDirectory(outputpath)
1
6200
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6201
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6202
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6203
Given path 'geonetwork/srv/dut/inspire'
1
6204
And param service = 'CSW'
0
6205
And param version = '2.0.2'
0
6206
And param request = 'GetRecordById'
0
6207
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
1
6208
And param elementsetname = 'full'
0
6209
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6210
When method get
297
6211
Then status 200
0
6212
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
1
6213
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6214
* def title = get response //citation/CI_Citation/title/CharacterString
0
6215
* def email = get response //electronicMailAddress/CharacterString
0
6216
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6217
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6218
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6219
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6220
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6221
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6222
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
50
6223
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6224
* print organisationpath
0
10:30:53.102 [print] Beheer PDOK
6225
* print operateson
0
10:30:53.102 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
6226
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6227
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
19
6228
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.174:18]ff9315c8-f25a-4d01-9245-5cf058314ebf
ms: 326
>>
Background:
6229
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6230
* def mystorage = Java.type('storage.DataStorage')
1
6231
* def db = new mystorage
1
6232
* def db = db.setfeature(karate.info.featureFileName)
2
6233
* def separator = java.lang.System.getProperty("file.separator")
2
6234
* def outputpath = db.outputpath()
1
6235
* eval db.ensureDirectory(outputpath)
1
6236
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6237
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6238
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6239
Given path 'geonetwork/srv/dut/inspire'
0
6240
And param service = 'CSW'
0
6241
And param version = '2.0.2'
0
6242
And param request = 'GetRecordById'
0
6243
And param id = 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
0
6244
And param elementsetname = 'full'
0
6245
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6246
When method get
303
6247
Then status 200
0
6248
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
2
6249
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6250
* def title = get response //citation/CI_Citation/title/CharacterString
0
6251
* def email = get response //electronicMailAddress/CharacterString
0
6252
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6253
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6254
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6255
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6256
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6257
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6258
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6259
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6260
* print organisationpath
0
10:30:53.113 [print] Beheer PDOK
6261
* print operateson
0
10:30:53.114 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6262
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6263
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6264
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
15
Scenario Outline: [1.175:18]9e2e977a-16a6-42a4-a208-c4f70704f383
ms: 296
>>
Background:
6265
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6266
* def mystorage = Java.type('storage.DataStorage')
1
6267
* def db = new mystorage
1
6268
* def db = db.setfeature(karate.info.featureFileName)
2
6269
* def separator = java.lang.System.getProperty("file.separator")
2
6270
* def outputpath = db.outputpath()
1
6271
* eval db.ensureDirectory(outputpath)
1
6272
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6273
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6274
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6275
Given path 'geonetwork/srv/dut/inspire'
1
6276
And param service = 'CSW'
0
6277
And param version = '2.0.2'
0
6278
And param request = 'GetRecordById'
0
6279
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383'
1
6280
And param elementsetname = 'full'
0
6281
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6282
When method get
280
6283
Then status 200
0
6284
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383'
1
6285
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6286
* def title = get response //citation/CI_Citation/title/CharacterString
1
6287
* def email = get response //electronicMailAddress/CharacterString
1
6288
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6289
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6290
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6291
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6292
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6293
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
6294
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6295
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6296
* print organisationpath
2
10:30:53.226 [print] Beheer PDOK
6297
* print operateson
0
10:30:53.227 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
6298
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6299
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6300
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.176:18]f76bdce5-344e-415f-8f2c-972755e80b65
ms: 324
>>
Background:
6301
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6302
* def mystorage = Java.type('storage.DataStorage')
1
6303
* def db = new mystorage
1
6304
* def db = db.setfeature(karate.info.featureFileName)
2
6305
* def separator = java.lang.System.getProperty("file.separator")
2
6306
* def outputpath = db.outputpath()
1
6307
* eval db.ensureDirectory(outputpath)
1
6308
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6309
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6310
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6311
Given path 'geonetwork/srv/dut/inspire'
1
6312
And param service = 'CSW'
0
6313
And param version = '2.0.2'
0
6314
And param request = 'GetRecordById'
0
6315
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65'
1
6316
And param elementsetname = 'full'
0
6317
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6318
When method get
313
6319
Then status 200
0
6320
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65'
1
6321
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6322
* def title = get response //citation/CI_Citation/title/CharacterString
0
6323
* def email = get response //electronicMailAddress/CharacterString
0
6324
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6325
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6326
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6327
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6328
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6329
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6330
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6331
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6332
* print organisationpath
0
10:30:53.307 [print] Beheer PDOK
6333
* print operateson
0
10:30:53.307 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
6334
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6335
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6336
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.177:18]609d0c9e-173f-4f90-b020-c91ab3a0b6ef
ms: 292
>>
Background:
6337
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6338
* def mystorage = Java.type('storage.DataStorage')
1
6339
* def db = new mystorage
1
6340
* def db = db.setfeature(karate.info.featureFileName)
2
6341
* def separator = java.lang.System.getProperty("file.separator")
2
6342
* def outputpath = db.outputpath()
1
6343
* eval db.ensureDirectory(outputpath)
1
6344
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6345
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6346
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6347
Given path 'geonetwork/srv/dut/inspire'
1
6348
And param service = 'CSW'
0
6349
And param version = '2.0.2'
0
6350
And param request = 'GetRecordById'
0
6351
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
4
6352
And param elementsetname = 'full'
0
6353
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6354
When method get
277
6355
Then status 200
0
6356
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
6357
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6358
* def title = get response //citation/CI_Citation/title/CharacterString
0
6359
* def email = get response //electronicMailAddress/CharacterString
0
6360
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6361
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6362
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6363
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6364
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6365
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6366
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6367
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6368
* print organisationpath
0
10:30:53.412 [print] Beheer PDOK
6369
* print operateson
0
10:30:53.412 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
6370
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6371
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6372
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.178:18]db1e010a-96f8-453e-b63c-9c27d6273157
ms: 346
>>
Background:
6373
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6374
* def mystorage = Java.type('storage.DataStorage')
1
6375
* def db = new mystorage
1
6376
* def db = db.setfeature(karate.info.featureFileName)
2
6377
* def separator = java.lang.System.getProperty("file.separator")
2
6378
* def outputpath = db.outputpath()
1
6379
* eval db.ensureDirectory(outputpath)
1
6380
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6381
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6382
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6383
Given path 'geonetwork/srv/dut/inspire'
1
6384
And param service = 'CSW'
0
6385
And param version = '2.0.2'
0
6386
And param request = 'GetRecordById'
0
6387
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
6388
And param elementsetname = 'full'
0
6389
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6390
When method get
333
6391
Then status 200
0
6392
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
6393
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6394
* def title = get response //citation/CI_Citation/title/CharacterString
1
6395
* def email = get response //electronicMailAddress/CharacterString
1
6396
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6397
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6398
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6399
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6400
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6401
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6402
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6403
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6404
* print organisationpath
0
10:30:53.472 [print] Beheer PDOK
6405
* print operateson
0
10:30:53.472 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
6406
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6407
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6408
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.179:18]7681eb19-a914-4dc7-9208-c2a131dca06d
ms: 296
>>
Background:
6409
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6410
* def mystorage = Java.type('storage.DataStorage')
1
6411
* def db = new mystorage
1
6412
* def db = db.setfeature(karate.info.featureFileName)
2
6413
* def separator = java.lang.System.getProperty("file.separator")
2
6414
* def outputpath = db.outputpath()
1
6415
* eval db.ensureDirectory(outputpath)
1
6416
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6417
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6418
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6419
Given path 'geonetwork/srv/dut/inspire'
0
6420
And param service = 'CSW'
0
6421
And param version = '2.0.2'
0
6422
And param request = 'GetRecordById'
0
6423
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d'
0
6424
And param elementsetname = 'full'
0
6425
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6426
When method get
284
6427
Then status 200
0
6428
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d'
1
6429
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6430
* def title = get response //citation/CI_Citation/title/CharacterString
1
6431
* def email = get response //electronicMailAddress/CharacterString
0
6432
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6433
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6434
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6435
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6436
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6437
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6438
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6439
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6440
* print organisationpath
0
10:30:53.522 [print] Beheer PDOK
6441
* print operateson
0
10:30:53.523 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification" ]
6442
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6443
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6444
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.180:18]d293204f-6581-4b0a-811b-1dcce97adedd
ms: 288
>>
Background:
6445
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6446
* def mystorage = Java.type('storage.DataStorage')
1
6447
* def db = new mystorage
1
6448
* def db = db.setfeature(karate.info.featureFileName)
2
6449
* def separator = java.lang.System.getProperty("file.separator")
2
6450
* def outputpath = db.outputpath()
1
6451
* eval db.ensureDirectory(outputpath)
1
6452
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6453
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6454
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6455
Given path 'geonetwork/srv/dut/inspire'
1
6456
And param service = 'CSW'
0
6457
And param version = '2.0.2'
0
6458
And param request = 'GetRecordById'
0
6459
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd'
1
6460
And param elementsetname = 'full'
0
6461
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6462
When method get
276
6463
Then status 200
0
6464
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd'
1
6465
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6466
* def title = get response //citation/CI_Citation/title/CharacterString
0
6467
* def email = get response //electronicMailAddress/CharacterString
0
6468
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6469
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6470
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6471
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6472
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6473
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6474
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6475
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6476
* print organisationpath
0
10:30:53.593 [print] Beheer PDOK
6477
* print operateson
0
10:30:53.594 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification
6478
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6479
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
6480
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.181:18]d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 309
>>
Background:
6481
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6482
* def mystorage = Java.type('storage.DataStorage')
1
6483
* def db = new mystorage
1
6484
* def db = db.setfeature(karate.info.featureFileName)
2
6485
* def separator = java.lang.System.getProperty("file.separator")
2
6486
* def outputpath = db.outputpath()
1
6487
* eval db.ensureDirectory(outputpath)
1
6488
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6489
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6490
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6491
Given path 'geonetwork/srv/dut/inspire'
1
6492
And param service = 'CSW'
0
6493
And param version = '2.0.2'
0
6494
And param request = 'GetRecordById'
0
6495
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
0
6496
And param elementsetname = 'full'
0
6497
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6498
When method get
293
6499
Then status 200
0
6500
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
6501
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6502
* def title = get response //citation/CI_Citation/title/CharacterString
1
6503
* def email = get response //electronicMailAddress/CharacterString
3
6504
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6505
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6506
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6507
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6508
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6509
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6510
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6511
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6512
* print organisationpath
0
10:30:53.720 [print] Beheer PDOK
6513
* print operateson
0
10:30:53.721 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification" ]
6514
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6515
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6516
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.182:18]7e450110-f643-4b73-9262-4f13966cffc6
ms: 320
>>
Background:
6517
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6518
* def mystorage = Java.type('storage.DataStorage')
1
6519
* def db = new mystorage
1
6520
* def db = db.setfeature(karate.info.featureFileName)
2
6521
* def separator = java.lang.System.getProperty("file.separator")
2
6522
* def outputpath = db.outputpath()
1
6523
* eval db.ensureDirectory(outputpath)
1
6524
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6525
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6526
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6527
Given path 'geonetwork/srv/dut/inspire'
0
6528
And param service = 'CSW'
0
6529
And param version = '2.0.2'
0
6530
And param request = 'GetRecordById'
0
6531
And param id = '7e450110-f643-4b73-9262-4f13966cffc6'
1
6532
And param elementsetname = 'full'
1
6533
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
1
6534
When method get
304
6535
Then status 200
0
6536
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e450110-f643-4b73-9262-4f13966cffc6'
1
6537
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6538
* def title = get response //citation/CI_Citation/title/CharacterString
1
6539
* def email = get response //electronicMailAddress/CharacterString
1
6540
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6541
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6542
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6543
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6544
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6545
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6546
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6547
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6548
* print organisationpath
0
10:30:53.793 [print] Beheer PDOK
6549
* print operateson
0
10:30:53.793 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification" ]
6550
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6551
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6552
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.183:18]b0119753-5625-4500-9df3-13823ff9868f
ms: 345
>>
Background:
6553
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6554
* def mystorage = Java.type('storage.DataStorage')
1
6555
* def db = new mystorage
1
6556
* def db = db.setfeature(karate.info.featureFileName)
2
6557
* def separator = java.lang.System.getProperty("file.separator")
2
6558
* def outputpath = db.outputpath()
1
6559
* eval db.ensureDirectory(outputpath)
1
6560
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6561
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6562
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6563
Given path 'geonetwork/srv/dut/inspire'
0
6564
And param service = 'CSW'
0
6565
And param version = '2.0.2'
0
6566
And param request = 'GetRecordById'
0
6567
And param id = 'b0119753-5625-4500-9df3-13823ff9868f'
1
6568
And param elementsetname = 'full'
0
6569
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6570
When method get
321
6571
Then status 200
0
6572
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f'
2
6573
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
6574
* def title = get response //citation/CI_Citation/title/CharacterString
2
6575
* def email = get response //electronicMailAddress/CharacterString
2
6576
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
6577
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
6578
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6579
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6580
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6581
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6582
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6583
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
6584
* print organisationpath
0
10:30:53.868 [print] Beheer PDOK
6585
* print operateson
0
10:30:53.868 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
6586
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
6587
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6588
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.184:18]af4841b5-ce83-4edb-af41-429a21140316
ms: 353
>>
Background:
6589
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6590
* def mystorage = Java.type('storage.DataStorage')
1
6591
* def db = new mystorage
1
6592
* def db = db.setfeature(karate.info.featureFileName)
2
6593
* def separator = java.lang.System.getProperty("file.separator")
2
6594
* def outputpath = db.outputpath()
1
6595
* eval db.ensureDirectory(outputpath)
1
6596
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6597
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6598
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6599
Given path 'geonetwork/srv/dut/inspire'
1
6600
And param service = 'CSW'
0
6601
And param version = '2.0.2'
0
6602
And param request = 'GetRecordById'
0
6603
And param id = 'af4841b5-ce83-4edb-af41-429a21140316'
1
6604
And param elementsetname = 'full'
0
6605
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6606
When method get
319
6607
Then status 200
0
6608
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316'
2
6609
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
6
6610
* def title = get response //citation/CI_Citation/title/CharacterString
3
6611
* def email = get response //electronicMailAddress/CharacterString
2
6612
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
6613
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
6614
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6615
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
6616
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6617
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6618
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
6619
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
6620
* print organisationpath
0
10:30:53.946 [print] Beheer PDOK
6621
* print operateson
0
10:30:53.946 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
6622
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
6623
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6624
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.185:18]a5437cb4-98ef-4c8e-a5ed-000e7a82b774
ms: 299
>>
Background:
6625
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6626
* def mystorage = Java.type('storage.DataStorage')
1
6627
* def db = new mystorage
1
6628
* def db = db.setfeature(karate.info.featureFileName)
2
6629
* def separator = java.lang.System.getProperty("file.separator")
2
6630
* def outputpath = db.outputpath()
1
6631
* eval db.ensureDirectory(outputpath)
1
6632
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6633
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6634
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6635
Given path 'geonetwork/srv/dut/inspire'
0
6636
And param service = 'CSW'
0
6637
And param version = '2.0.2'
0
6638
And param request = 'GetRecordById'
0
6639
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
0
6640
And param elementsetname = 'full'
0
6641
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6642
When method get
288
6643
Then status 200
0
6644
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
1
6645
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6646
* def title = get response //citation/CI_Citation/title/CharacterString
1
6647
* def email = get response //electronicMailAddress/CharacterString
1
6648
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6649
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6650
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6651
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6652
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6653
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6654
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6655
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6656
* print organisationpath
0
10:30:54.023 [print] PDOK
6657
* print operateson
0
10:30:54.023 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
6658
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6659
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6660
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.186:18]abf1f9f0-1b85-40e8-86ec-86bee6003b4e
ms: 321
>>
Background:
6661
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6662
* def mystorage = Java.type('storage.DataStorage')
1
6663
* def db = new mystorage
1
6664
* def db = db.setfeature(karate.info.featureFileName)
2
6665
* def separator = java.lang.System.getProperty("file.separator")
2
6666
* def outputpath = db.outputpath()
1
6667
* eval db.ensureDirectory(outputpath)
1
6668
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6669
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6670
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6671
Given path 'geonetwork/srv/dut/inspire'
0
6672
And param service = 'CSW'
0
6673
And param version = '2.0.2'
0
6674
And param request = 'GetRecordById'
0
6675
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
0
6676
And param elementsetname = 'full'
0
6677
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6678
When method get
306
6679
Then status 200
0
6680
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
1
6681
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6682
* def title = get response //citation/CI_Citation/title/CharacterString
1
6683
* def email = get response //electronicMailAddress/CharacterString
1
6684
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6685
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6686
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6687
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6688
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6689
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6690
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6691
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6692
* print organisationpath
0
10:30:54.117 [print] Beheer PDOK
6693
* print operateson
0
10:30:54.117 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
6694
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6695
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6696
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.187:18]f1e26638-3b45-4dd5-9ad0-f7d3654700f1
ms: 315
>>
Background:
6697
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6698
* def mystorage = Java.type('storage.DataStorage')
1
6699
* def db = new mystorage
1
6700
* def db = db.setfeature(karate.info.featureFileName)
2
6701
* def separator = java.lang.System.getProperty("file.separator")
2
6702
* def outputpath = db.outputpath()
1
6703
* eval db.ensureDirectory(outputpath)
1
6704
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6705
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6706
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6707
Given path 'geonetwork/srv/dut/inspire'
0
6708
And param service = 'CSW'
0
6709
And param version = '2.0.2'
0
6710
And param request = 'GetRecordById'
0
6711
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
1
6712
And param elementsetname = 'full'
0
6713
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6714
When method get
294
6715
Then status 200
0
6716
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
1
6717
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6718
* def title = get response //citation/CI_Citation/title/CharacterString
1
6719
* def email = get response //electronicMailAddress/CharacterString
1
6720
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6721
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6722
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6723
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6724
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6725
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6726
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6727
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6728
* print organisationpath
0
10:30:54.180 [print] Beheer PDOK
6729
* print operateson
0
10:30:54.180 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
6730
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6731
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6732
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.188:18]a2fdecfc-de33-4ce3-b935-4c9ac18c5a36
ms: 298
>>
Background:
6733
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6734
* def mystorage = Java.type('storage.DataStorage')
1
6735
* def db = new mystorage
1
6736
* def db = db.setfeature(karate.info.featureFileName)
2
6737
* def separator = java.lang.System.getProperty("file.separator")
2
6738
* def outputpath = db.outputpath()
1
6739
* eval db.ensureDirectory(outputpath)
1
6740
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6741
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6742
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6743
Given path 'geonetwork/srv/dut/inspire'
1
6744
And param service = 'CSW'
0
6745
And param version = '2.0.2'
0
6746
And param request = 'GetRecordById'
0
6747
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
0
6748
And param elementsetname = 'full'
0
6749
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6750
When method get
283
6751
Then status 200
0
6752
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
1
6753
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6754
* def title = get response //citation/CI_Citation/title/CharacterString
1
6755
* def email = get response //electronicMailAddress/CharacterString
1
6756
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6757
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6758
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6759
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6760
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6761
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6762
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6763
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6764
* print organisationpath
0
10:30:54.246 [print] Beheer PDOK
6765
* print operateson
0
10:30:54.246 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
6766
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6767
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6768
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.189:18]1c9b43c3-064d-40c3-aa7c-879b7376ef6f
ms: 297
>>
Background:
6769
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6770
* def mystorage = Java.type('storage.DataStorage')
1
6771
* def db = new mystorage
1
6772
* def db = db.setfeature(karate.info.featureFileName)
2
6773
* def separator = java.lang.System.getProperty("file.separator")
2
6774
* def outputpath = db.outputpath()
1
6775
* eval db.ensureDirectory(outputpath)
1
6776
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6777
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6778
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6779
Given path 'geonetwork/srv/dut/inspire'
0
6780
And param service = 'CSW'
0
6781
And param version = '2.0.2'
0
6782
And param request = 'GetRecordById'
0
6783
And param id = '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
0
6784
And param elementsetname = 'full'
0
6785
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6786
When method get
286
6787
Then status 200
0
6788
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
1
6789
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6790
* def title = get response //citation/CI_Citation/title/CharacterString
0
6791
* def email = get response //electronicMailAddress/CharacterString
0
6792
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6793
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6794
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6795
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6796
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6797
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6798
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6799
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6800
* print organisationpath
0
10:30:54.321 [print] Beheer PDOK
6801
* print operateson
0
10:30:54.321 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
6802
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6803
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6804
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.190:18]180b6682-5d6f-429d-abb7-32f7d6253787
ms: 326
>>
Background:
6805
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6806
* def mystorage = Java.type('storage.DataStorage')
1
6807
* def db = new mystorage
1
6808
* def db = db.setfeature(karate.info.featureFileName)
2
6809
* def separator = java.lang.System.getProperty("file.separator")
2
6810
* def outputpath = db.outputpath()
1
6811
* eval db.ensureDirectory(outputpath)
1
6812
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6813
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6814
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6815
Given path 'geonetwork/srv/dut/inspire'
0
6816
And param service = 'CSW'
0
6817
And param version = '2.0.2'
0
6818
And param request = 'GetRecordById'
0
6819
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787'
0
6820
And param elementsetname = 'full'
0
6821
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6822
When method get
310
6823
Then status 200
0
6824
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787'
1
6825
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6826
* def title = get response //citation/CI_Citation/title/CharacterString
1
6827
* def email = get response //electronicMailAddress/CharacterString
1
6828
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6829
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6830
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6831
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6832
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6833
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6834
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6835
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6836
* print organisationpath
0
10:30:54.439 [print] Beheer PDOK
6837
* print operateson
0
10:30:54.439 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
6838
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6839
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
6840
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.191:18]d981070b-888c-42d5-85ff-1e383f3d7fce
ms: 310
>>
Background:
6841
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6842
* def mystorage = Java.type('storage.DataStorage')
1
6843
* def db = new mystorage
1
6844
* def db = db.setfeature(karate.info.featureFileName)
2
6845
* def separator = java.lang.System.getProperty("file.separator")
2
6846
* def outputpath = db.outputpath()
1
6847
* eval db.ensureDirectory(outputpath)
1
6848
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6849
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6850
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6851
Given path 'geonetwork/srv/dut/inspire'
1
6852
And param service = 'CSW'
0
6853
And param version = '2.0.2'
0
6854
And param request = 'GetRecordById'
0
6855
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce'
0
6856
And param elementsetname = 'full'
0
6857
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6858
When method get
296
6859
Then status 200
0
6860
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce'
1
6861
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6862
* def title = get response //citation/CI_Citation/title/CharacterString
1
6863
* def email = get response //electronicMailAddress/CharacterString
1
6864
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6865
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6866
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6867
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6868
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6869
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6870
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6871
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6872
* print organisationpath
0
10:30:54.494 [print] Beheer PDOK
6873
* print operateson
0
10:30:54.494 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
6874
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6875
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6876
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.192:18]5856173c-e58d-4b4c-8f9b-046ee1f20c1c
ms: 301
>>
Background:
6877
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6878
* def mystorage = Java.type('storage.DataStorage')
1
6879
* def db = new mystorage
1
6880
* def db = db.setfeature(karate.info.featureFileName)
2
6881
* def separator = java.lang.System.getProperty("file.separator")
2
6882
* def outputpath = db.outputpath()
1
6883
* eval db.ensureDirectory(outputpath)
1
6884
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6885
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6886
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6887
Given path 'geonetwork/srv/dut/inspire'
1
6888
And param service = 'CSW'
0
6889
And param version = '2.0.2'
0
6890
And param request = 'GetRecordById'
0
6891
And param id = '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
0
6892
And param elementsetname = 'full'
0
6893
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6894
When method get
287
6895
Then status 200
0
6896
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
1
6897
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6898
* def title = get response //citation/CI_Citation/title/CharacterString
1
6899
* def email = get response //electronicMailAddress/CharacterString
0
6900
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6901
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6902
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6903
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6904
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6905
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6906
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6907
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6908
* print organisationpath
1
10:30:54.547 [print] Beheer PDOK
6909
* print operateson
0
10:30:54.547 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
6910
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6911
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6912
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.193:18]c226f573-4b39-4cbd-b84b-01f308e70972
ms: 284
>>
Background:
6913
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6914
* def mystorage = Java.type('storage.DataStorage')
1
6915
* def db = new mystorage
1
6916
* def db = db.setfeature(karate.info.featureFileName)
2
6917
* def separator = java.lang.System.getProperty("file.separator")
2
6918
* def outputpath = db.outputpath()
1
6919
* eval db.ensureDirectory(outputpath)
1
6920
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6921
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6922
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6923
Given path 'geonetwork/srv/dut/inspire'
1
6924
And param service = 'CSW'
0
6925
And param version = '2.0.2'
0
6926
And param request = 'GetRecordById'
0
6927
And param id = 'c226f573-4b39-4cbd-b84b-01f308e70972'
0
6928
And param elementsetname = 'full'
0
6929
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6930
When method get
273
6931
Then status 200
0
6932
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c226f573-4b39-4cbd-b84b-01f308e70972'
1
6933
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6934
* def title = get response //citation/CI_Citation/title/CharacterString
0
6935
* def email = get response //electronicMailAddress/CharacterString
0
6936
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6937
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6938
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6939
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6940
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6941
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6942
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6943
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6944
* print organisationpath
0
10:30:54.606 [print] Beheer PDOK
6945
* print operateson
1
10:30:54.606 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
6946
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6947
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6948
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.194:18]9699058e-707e-41df-93b5-ff75654d32b2
ms: 300
>>
Background:
6949
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6950
* def mystorage = Java.type('storage.DataStorage')
1
6951
* def db = new mystorage
1
6952
* def db = db.setfeature(karate.info.featureFileName)
2
6953
* def separator = java.lang.System.getProperty("file.separator")
2
6954
* def outputpath = db.outputpath()
1
6955
* eval db.ensureDirectory(outputpath)
1
6956
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6957
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6958
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6959
Given path 'geonetwork/srv/dut/inspire'
1
6960
And param service = 'CSW'
0
6961
And param version = '2.0.2'
0
6962
And param request = 'GetRecordById'
0
6963
And param id = '9699058e-707e-41df-93b5-ff75654d32b2'
0
6964
And param elementsetname = 'full'
0
6965
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6966
When method get
289
6967
Then status 200
0
6968
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9699058e-707e-41df-93b5-ff75654d32b2'
1
6969
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6970
* def title = get response //citation/CI_Citation/title/CharacterString
0
6971
* def email = get response //electronicMailAddress/CharacterString
0
6972
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6973
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6974
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6975
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6976
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6977
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6978
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6979
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6980
* print organisationpath
0
10:30:54.744 [print] Beheer PDOK
6981
* print operateson
0
10:30:54.744 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
6982
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6983
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6984
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.195:18]f20e948e-9e22-4b5a-96a1-f3cc1d16b808
ms: 298
>>
Background:
6985
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
6986
* def mystorage = Java.type('storage.DataStorage')
1
6987
* def db = new mystorage
1
6988
* def db = db.setfeature(karate.info.featureFileName)
2
6989
* def separator = java.lang.System.getProperty("file.separator")
2
6990
* def outputpath = db.outputpath()
1
6991
* eval db.ensureDirectory(outputpath)
1
6992
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6993
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6994
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6995
Given path 'geonetwork/srv/dut/inspire'
0
6996
And param service = 'CSW'
0
6997
And param version = '2.0.2'
0
6998
And param request = 'GetRecordById'
0
6999
And param id = 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
0
7000
And param elementsetname = 'full'
0
7001
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7002
When method get
284
7003
Then status 200
0
7004
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
1
7005
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7006
* def title = get response //citation/CI_Citation/title/CharacterString
0
7007
* def email = get response //electronicMailAddress/CharacterString
0
7008
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7009
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
7010
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7011
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7012
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7013
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7014
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7015
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7016
* print organisationpath
0
10:30:54.794 [print] Beheer PDOK
7017
* print operateson
0
10:30:54.794 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification
7018
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7019
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7020
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.196:18]4041f923-6b77-4816-bf46-437e85416c31
ms: 340
>>
Background:
7021
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7022
* def mystorage = Java.type('storage.DataStorage')
1
7023
* def db = new mystorage
1
7024
* def db = db.setfeature(karate.info.featureFileName)
2
7025
* def separator = java.lang.System.getProperty("file.separator")
2
7026
* def outputpath = db.outputpath()
1
7027
* eval db.ensureDirectory(outputpath)
1
7028
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7029
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7030
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7031
Given path 'geonetwork/srv/dut/inspire'
1
7032
And param service = 'CSW'
0
7033
And param version = '2.0.2'
0
7034
And param request = 'GetRecordById'
0
7035
And param id = '4041f923-6b77-4816-bf46-437e85416c31'
1
7036
And param elementsetname = 'full'
0
7037
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7038
When method get
328
7039
Then status 200
0
7040
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31'
1
7041
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7042
* def title = get response //citation/CI_Citation/title/CharacterString
1
7043
* def email = get response //electronicMailAddress/CharacterString
0
7044
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7045
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7046
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7047
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7048
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7049
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7050
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7051
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7052
* print organisationpath
0
10:30:54.889 [print] Beheer PDOK
7053
* print operateson
0
10:30:54.889 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification" ]
7054
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7055
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7056
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.197:18]a2724dae-ebad-4a07-9405-49bddfde3368
ms: 334
>>
Background:
7057
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7058
* def mystorage = Java.type('storage.DataStorage')
1
7059
* def db = new mystorage
1
7060
* def db = db.setfeature(karate.info.featureFileName)
2
7061
* def separator = java.lang.System.getProperty("file.separator")
2
7062
* def outputpath = db.outputpath()
1
7063
* eval db.ensureDirectory(outputpath)
1
7064
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7065
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7066
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7067
Given path 'geonetwork/srv/dut/inspire'
2
7068
And param service = 'CSW'
0
7069
And param version = '2.0.2'
0
7070
And param request = 'GetRecordById'
0
7071
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368'
1
7072
And param elementsetname = 'full'
0
7073
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7074
When method get
322
7075
Then status 200
0
7076
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368'
0
7077
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7078
* def title = get response //citation/CI_Citation/title/CharacterString
1
7079
* def email = get response //electronicMailAddress/CharacterString
0
7080
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7081
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7082
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7083
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7084
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7085
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7086
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7087
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7088
* print organisationpath
0
10:30:54.941 [print] Beheer PDOK
7089
* print operateson
0
10:30:54.941 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
7090
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7091
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7092
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.198:18]3e65fa1b-9bb1-41bd-9760-76962751b839
ms: 287
>>
Background:
7093
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7094
* def mystorage = Java.type('storage.DataStorage')
1
7095
* def db = new mystorage
1
7096
* def db = db.setfeature(karate.info.featureFileName)
2
7097
* def separator = java.lang.System.getProperty("file.separator")
2
7098
* def outputpath = db.outputpath()
1
7099
* eval db.ensureDirectory(outputpath)
1
7100
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7101
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7102
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7103
Given path 'geonetwork/srv/dut/inspire'
1
7104
And param service = 'CSW'
0
7105
And param version = '2.0.2'
0
7106
And param request = 'GetRecordById'
0
7107
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839'
1
7108
And param elementsetname = 'full'
0
7109
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7110
When method get
275
7111
Then status 200
0
7112
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839'
1
7113
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7114
* def title = get response //citation/CI_Citation/title/CharacterString
0
7115
* def email = get response //electronicMailAddress/CharacterString
1
7116
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7117
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7118
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7119
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7120
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7121
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7122
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7123
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7124
* print organisationpath
0
10:30:55.031 [print] Beheer PDOK
7125
* print operateson
0
10:30:55.031 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
7126
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7127
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
7128
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.199:18]25a99d92-ea8a-4163-82ab-3521c9b0c96b
ms: 294
>>
Background:
7129
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7130
* def mystorage = Java.type('storage.DataStorage')
1
7131
* def db = new mystorage
1
7132
* def db = db.setfeature(karate.info.featureFileName)
2
7133
* def separator = java.lang.System.getProperty("file.separator")
2
7134
* def outputpath = db.outputpath()
1
7135
* eval db.ensureDirectory(outputpath)
1
7136
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7137
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7138
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7139
Given path 'geonetwork/srv/dut/inspire'
0
7140
And param service = 'CSW'
0
7141
And param version = '2.0.2'
0
7142
And param request = 'GetRecordById'
0
7143
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
7144
And param elementsetname = 'full'
0
7145
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7146
When method get
283
7147
Then status 200
0
7148
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
7149
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7150
* def title = get response //citation/CI_Citation/title/CharacterString
0
7151
* def email = get response //electronicMailAddress/CharacterString
0
7152
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7153
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7154
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7155
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7156
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7157
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7158
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7159
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7160
* print organisationpath
0
10:30:55.088 [print] Beheer PDOK
7161
* print operateson
0
10:30:55.088 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
7162
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7163
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7164
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.200:18]1fa220c2-5f2e-4943-a57e-c291cc35084b
ms: 356
>>
Background:
7165
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7166
* def mystorage = Java.type('storage.DataStorage')
1
7167
* def db = new mystorage
1
7168
* def db = db.setfeature(karate.info.featureFileName)
2
7169
* def separator = java.lang.System.getProperty("file.separator")
2
7170
* def outputpath = db.outputpath()
1
7171
* eval db.ensureDirectory(outputpath)
1
7172
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7173
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7174
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7175
Given path 'geonetwork/srv/dut/inspire'
0
7176
And param service = 'CSW'
0
7177
And param version = '2.0.2'
0
7178
And param request = 'GetRecordById'
0
7179
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b'
0
7180
And param elementsetname = 'full'
0
7181
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7182
When method get
326
7183
Then status 200
0
7184
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b'
2
7185
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
7186
* def title = get response //citation/CI_Citation/title/CharacterString
2
7187
* def email = get response //electronicMailAddress/CharacterString
2
7188
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
7189
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
7190
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7191
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7192
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7193
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
7194
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7195
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
7196
* print organisationpath
0
10:30:55.244 [print] Beheer PDOK
7197
* print operateson
0
10:30:55.244 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
7198
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
7199
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7200
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.201:18]6a129fd1-0988-4b8a-975a-6ff134b6754a
ms: 307
>>
Background:
7201
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7202
* def mystorage = Java.type('storage.DataStorage')
1
7203
* def db = new mystorage
1
7204
* def db = db.setfeature(karate.info.featureFileName)
2
7205
* def separator = java.lang.System.getProperty("file.separator")
2
7206
* def outputpath = db.outputpath()
1
7207
* eval db.ensureDirectory(outputpath)
1
7208
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7209
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7210
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7211
Given path 'geonetwork/srv/dut/inspire'
0
7212
And param service = 'CSW'
0
7213
And param version = '2.0.2'
0
7214
And param request = 'GetRecordById'
0
7215
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a'
0
7216
And param elementsetname = 'full'
0
7217
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7218
When method get
290
7219
Then status 200
0
7220
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a'
0
7221
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7222
* def title = get response //citation/CI_Citation/title/CharacterString
0
7223
* def email = get response //electronicMailAddress/CharacterString
0
7224
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7225
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7226
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7227
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7228
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7229
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7230
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7231
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
9
7232
* print organisationpath
0
10:30:55.250 [print] Beheer PDOK
7233
* print operateson
0
10:30:55.250 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
7234
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7235
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7236
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.202:18]42f5363b-cea7-4163-a4e9-bc2d1a7a243c
ms: 292
>>
Background:
7237
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7238
* def mystorage = Java.type('storage.DataStorage')
1
7239
* def db = new mystorage
1
7240
* def db = db.setfeature(karate.info.featureFileName)
2
7241
* def separator = java.lang.System.getProperty("file.separator")
2
7242
* def outputpath = db.outputpath()
1
7243
* eval db.ensureDirectory(outputpath)
1
7244
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7245
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7246
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7247
Given path 'geonetwork/srv/dut/inspire'
0
7248
And param service = 'CSW'
0
7249
And param version = '2.0.2'
0
7250
And param request = 'GetRecordById'
0
7251
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
1
7252
And param elementsetname = 'full'
0
7253
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7254
When method get
281
7255
Then status 200
0
7256
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
1
7257
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7258
* def title = get response //citation/CI_Citation/title/CharacterString
1
7259
* def email = get response //electronicMailAddress/CharacterString
0
7260
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7261
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7262
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7263
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7264
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7265
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7266
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7267
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7268
* print organisationpath
0
10:30:55.324 [print] Beheer PDOK
7269
* print operateson
0
10:30:55.324 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
7270
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7271
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7272
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.203:18]7ab53b91-9df1-4c39-ba0e-06ec80ce512b
ms: 286
>>
Background:
7273
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7274
* def mystorage = Java.type('storage.DataStorage')
1
7275
* def db = new mystorage
1
7276
* def db = db.setfeature(karate.info.featureFileName)
2
7277
* def separator = java.lang.System.getProperty("file.separator")
2
7278
* def outputpath = db.outputpath()
1
7279
* eval db.ensureDirectory(outputpath)
1
7280
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7281
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7282
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7283
Given path 'geonetwork/srv/dut/inspire'
1
7284
And param service = 'CSW'
0
7285
And param version = '2.0.2'
0
7286
And param request = 'GetRecordById'
0
7287
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
0
7288
And param elementsetname = 'full'
0
7289
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7290
When method get
276
7291
Then status 200
0
7292
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
1
7293
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7294
* def title = get response //citation/CI_Citation/title/CharacterString
0
7295
* def email = get response //electronicMailAddress/CharacterString
0
7296
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
7297
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7298
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7299
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7300
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7301
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7302
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7303
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7304
* print organisationpath
0
10:30:55.375 [print] Beheer PDOK
7305
* print operateson
0
10:30:55.375 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
7306
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7307
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7308
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.204:18]b023459a-9f0e-4d53-8059-a794119abbed
ms: 294
>>
Background:
7309
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7310
* def mystorage = Java.type('storage.DataStorage')
1
7311
* def db = new mystorage
1
7312
* def db = db.setfeature(karate.info.featureFileName)
2
7313
* def separator = java.lang.System.getProperty("file.separator")
2
7314
* def outputpath = db.outputpath()
1
7315
* eval db.ensureDirectory(outputpath)
1
7316
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7317
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7318
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7319
Given path 'geonetwork/srv/dut/inspire'
4
7320
And param service = 'CSW'
0
7321
And param version = '2.0.2'
0
7322
And param request = 'GetRecordById'
0
7323
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed'
1
7324
And param elementsetname = 'full'
0
7325
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7326
When method get
280
7327
Then status 200
0
7328
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed'
1
7329
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7330
* def title = get response //citation/CI_Citation/title/CharacterString
0
7331
* def email = get response //electronicMailAddress/CharacterString
0
7332
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7333
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7334
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7335
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7336
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7337
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7338
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7339
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7340
* print organisationpath
0
10:30:55.540 [print] Beheer PDOK
7341
* print operateson
0
10:30:55.540 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
7342
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7343
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7344
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.205:18]80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a
ms: 356
>>
Background:
7345
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7346
* def mystorage = Java.type('storage.DataStorage')
1
7347
* def db = new mystorage
1
7348
* def db = db.setfeature(karate.info.featureFileName)
2
7349
* def separator = java.lang.System.getProperty("file.separator")
2
7350
* def outputpath = db.outputpath()
1
7351
* eval db.ensureDirectory(outputpath)
1
7352
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7353
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7354
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7355
Given path 'geonetwork/srv/dut/inspire'
0
7356
And param service = 'CSW'
0
7357
And param version = '2.0.2'
0
7358
And param request = 'GetRecordById'
0
7359
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
0
7360
And param elementsetname = 'full'
0
7361
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7362
When method get
341
7363
Then status 200
0
7364
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
1
7365
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7366
* def title = get response //citation/CI_Citation/title/CharacterString
0
7367
* def email = get response //electronicMailAddress/CharacterString
0
7368
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7369
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7370
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7371
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7372
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7373
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7374
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7375
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7376
* print organisationpath
0
10:30:55.601 [print] Beheer PDOK
7377
* print operateson
0
10:30:55.601 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
7378
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7379
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7380
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.206:18]a1ed8a00-da07-472e-9627-99175d437c94
ms: 337
>>
Background:
7381
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7382
* def mystorage = Java.type('storage.DataStorage')
1
7383
* def db = new mystorage
1
7384
* def db = db.setfeature(karate.info.featureFileName)
2
7385
* def separator = java.lang.System.getProperty("file.separator")
2
7386
* def outputpath = db.outputpath()
1
7387
* eval db.ensureDirectory(outputpath)
1
7388
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7389
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7390
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7391
Given path 'geonetwork/srv/dut/inspire'
0
7392
And param service = 'CSW'
0
7393
And param version = '2.0.2'
0
7394
And param request = 'GetRecordById'
0
7395
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94'
0
7396
And param elementsetname = 'full'
0
7397
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7398
When method get
326
7399
Then status 200
0
7400
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94'
1
7401
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7402
* def title = get response //citation/CI_Citation/title/CharacterString
1
7403
* def email = get response //electronicMailAddress/CharacterString
1
7404
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7405
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7406
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7407
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7408
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7409
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7410
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7411
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7412
* print organisationpath
0
10:30:55.662 [print] Beheer PDOK
7413
* print operateson
0
10:30:55.662 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
7414
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7415
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7416
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.207:18]e9ba7d7f-6cd1-4271-bce4-56432924b338
ms: 320
>>
Background:
7417
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7418
* def mystorage = Java.type('storage.DataStorage')
1
7419
* def db = new mystorage
1
7420
* def db = db.setfeature(karate.info.featureFileName)
2
7421
* def separator = java.lang.System.getProperty("file.separator")
2
7422
* def outputpath = db.outputpath()
1
7423
* eval db.ensureDirectory(outputpath)
1
7424
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7425
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7426
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7427
Given path 'geonetwork/srv/dut/inspire'
0
7428
And param service = 'CSW'
0
7429
And param version = '2.0.2'
0
7430
And param request = 'GetRecordById'
0
7431
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
0
7432
And param elementsetname = 'full'
0
7433
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7434
When method get
311
7435
Then status 200
0
7436
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
0
7437
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7438
* def title = get response //citation/CI_Citation/title/CharacterString
0
7439
* def email = get response //electronicMailAddress/CharacterString
0
7440
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
7441
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7442
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7443
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7444
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7445
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7446
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7447
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7448
* print organisationpath
0
10:30:55.696 [print] Beheer PDOK
7449
* print operateson
0
10:30:55.696 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
7450
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7451
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7452
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.208:18]c6fa88ab-e440-414b-a773-793c4ce6d8df
ms: 295
>>
Background:
7453
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7454
* def mystorage = Java.type('storage.DataStorage')
1
7455
* def db = new mystorage
1
7456
* def db = db.setfeature(karate.info.featureFileName)
2
7457
* def separator = java.lang.System.getProperty("file.separator")
2
7458
* def outputpath = db.outputpath()
1
7459
* eval db.ensureDirectory(outputpath)
1
7460
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7461
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7462
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7463
Given path 'geonetwork/srv/dut/inspire'
1
7464
And param service = 'CSW'
0
7465
And param version = '2.0.2'
0
7466
And param request = 'GetRecordById'
0
7467
And param id = 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
7468
And param elementsetname = 'full'
0
7469
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7470
When method get
284
7471
Then status 200
0
7472
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
7473
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7474
* def title = get response //citation/CI_Citation/title/CharacterString
1
7475
* def email = get response //electronicMailAddress/CharacterString
0
7476
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7477
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7478
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7479
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7480
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7481
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7482
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7483
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7484
* print organisationpath
0
10:30:55.836 [print] Beheer PDOK
7485
* print operateson
0
10:30:55.836 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
7486
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7487
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7488
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.209:18]4074b3c3-ca85-45ad-bc0d-b5fca8540c0a
ms: 287
>>
Background:
7489
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7490
* def mystorage = Java.type('storage.DataStorage')
1
7491
* def db = new mystorage
1
7492
* def db = db.setfeature(karate.info.featureFileName)
2
7493
* def separator = java.lang.System.getProperty("file.separator")
2
7494
* def outputpath = db.outputpath()
1
7495
* eval db.ensureDirectory(outputpath)
1
7496
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7497
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7498
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7499
Given path 'geonetwork/srv/dut/inspire'
0
7500
And param service = 'CSW'
0
7501
And param version = '2.0.2'
0
7502
And param request = 'GetRecordById'
0
7503
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
0
7504
And param elementsetname = 'full'
0
7505
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7506
When method get
277
7507
Then status 200
0
7508
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
1
7509
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7510
* def title = get response //citation/CI_Citation/title/CharacterString
0
7511
* def email = get response //electronicMailAddress/CharacterString
0
7512
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7513
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7514
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7515
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7516
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7517
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7518
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7519
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7520
* print organisationpath
0
10:30:55.893 [print] Beheer PDOK
7521
* print operateson
0
10:30:55.893 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
7522
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7523
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7524
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.210:18]62dc32f1-853c-416a-876b-6e083554f1b6
ms: 303
>>
Background:
7525
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7526
* def mystorage = Java.type('storage.DataStorage')
1
7527
* def db = new mystorage
1
7528
* def db = db.setfeature(karate.info.featureFileName)
2
7529
* def separator = java.lang.System.getProperty("file.separator")
2
7530
* def outputpath = db.outputpath()
1
7531
* eval db.ensureDirectory(outputpath)
1
7532
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7533
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7534
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7535
Given path 'geonetwork/srv/dut/inspire'
0
7536
And param service = 'CSW'
0
7537
And param version = '2.0.2'
0
7538
And param request = 'GetRecordById'
0
7539
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6'
0
7540
And param elementsetname = 'full'
0
7541
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7542
When method get
292
7543
Then status 200
0
7544
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6'
1
7545
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7546
* def title = get response //citation/CI_Citation/title/CharacterString
1
7547
* def email = get response //electronicMailAddress/CharacterString
0
7548
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7549
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7550
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7551
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7552
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7553
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7554
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7555
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7556
* print organisationpath
0
10:30:55.965 [print] Beheer PDOK
7557
* print operateson
0
10:30:55.965 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification
7558
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7559
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7560
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.211:18]b4ae5b2c-f557-4a30-bbf2-c2681a544f32
ms: 306
>>
Background:
7561
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7562
* def mystorage = Java.type('storage.DataStorage')
1
7563
* def db = new mystorage
1
7564
* def db = db.setfeature(karate.info.featureFileName)
2
7565
* def separator = java.lang.System.getProperty("file.separator")
2
7566
* def outputpath = db.outputpath()
1
7567
* eval db.ensureDirectory(outputpath)
1
7568
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7569
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7570
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7571
Given path 'geonetwork/srv/dut/inspire'
1
7572
And param service = 'CSW'
0
7573
And param version = '2.0.2'
0
7574
And param request = 'GetRecordById'
0
7575
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
1
7576
And param elementsetname = 'full'
0
7577
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7578
When method get
289
7579
Then status 200
0
7580
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
0
7581
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7582
* def title = get response //citation/CI_Citation/title/CharacterString
0
7583
* def email = get response //electronicMailAddress/CharacterString
1
7584
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7585
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7586
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7587
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7588
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7589
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7590
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7591
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7592
* print organisationpath
6
10:30:56.002 [print] Beheer PDOK
7593
* print operateson
0
10:30:56.002 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
7594
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7595
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7596
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.212:18]89b35a6c-c099-456b-8eaf-2b83c7a35c74
ms: 292
>>
Background:
7597
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7598
* def mystorage = Java.type('storage.DataStorage')
1
7599
* def db = new mystorage
1
7600
* def db = db.setfeature(karate.info.featureFileName)
2
7601
* def separator = java.lang.System.getProperty("file.separator")
2
7602
* def outputpath = db.outputpath()
1
7603
* eval db.ensureDirectory(outputpath)
1
7604
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7605
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7606
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7607
Given path 'geonetwork/srv/dut/inspire'
0
7608
And param service = 'CSW'
0
7609
And param version = '2.0.2'
0
7610
And param request = 'GetRecordById'
0
7611
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
0
7612
And param elementsetname = 'full'
0
7613
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7614
When method get
281
7615
Then status 200
0
7616
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
1
7617
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7618
* def title = get response //citation/CI_Citation/title/CharacterString
0
7619
* def email = get response //electronicMailAddress/CharacterString
0
7620
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7621
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7622
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7623
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7624
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7625
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7626
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7627
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7628
* print organisationpath
0
10:30:56.128 [print] Beheer PDOK
7629
* print operateson
0
10:30:56.128 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
7630
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7631
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7632
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.213:18]d7d19437-f875-45b3-86cd-2fa3335479ec
ms: 298
>>
Background:
7633
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7634
* def mystorage = Java.type('storage.DataStorage')
1
7635
* def db = new mystorage
1
7636
* def db = db.setfeature(karate.info.featureFileName)
2
7637
* def separator = java.lang.System.getProperty("file.separator")
2
7638
* def outputpath = db.outputpath()
1
7639
* eval db.ensureDirectory(outputpath)
1
7640
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7641
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7642
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7643
Given path 'geonetwork/srv/dut/inspire'
1
7644
And param service = 'CSW'
0
7645
And param version = '2.0.2'
0
7646
And param request = 'GetRecordById'
0
7647
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec'
3
7648
And param elementsetname = 'full'
0
7649
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7650
When method get
283
7651
Then status 200
0
7652
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
7653
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7654
* def title = get response //citation/CI_Citation/title/CharacterString
0
7655
* def email = get response //electronicMailAddress/CharacterString
0
7656
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7657
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7658
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7659
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7660
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7661
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7662
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7663
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7664
* print organisationpath
0
10:30:56.191 [print] Beheer PDOK
7665
* print operateson
0
10:30:56.191 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
7666
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7667
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7668
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.214:18]2b9da196-422e-4b0e-a5ba-ba41ade308e9
ms: 337
>>
Background:
7669
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7670
* def mystorage = Java.type('storage.DataStorage')
1
7671
* def db = new mystorage
1
7672
* def db = db.setfeature(karate.info.featureFileName)
2
7673
* def separator = java.lang.System.getProperty("file.separator")
2
7674
* def outputpath = db.outputpath()
1
7675
* eval db.ensureDirectory(outputpath)
1
7676
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7677
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7678
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7679
Given path 'geonetwork/srv/dut/inspire'
1
7680
And param service = 'CSW'
0
7681
And param version = '2.0.2'
0
7682
And param request = 'GetRecordById'
0
7683
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
1
7684
And param elementsetname = 'full'
0
7685
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7686
When method get
309
7687
Then status 200
0
7688
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
2
7689
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
7690
* def title = get response //citation/CI_Citation/title/CharacterString
2
7691
* def email = get response //electronicMailAddress/CharacterString
2
7692
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
7693
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
7694
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7695
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7696
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7697
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7698
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
7699
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
7700
* print organisationpath
0
10:30:56.300 [print] Beheer PDOK
7701
* print operateson
0
10:30:56.300 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
7702
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
7703
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7704
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.215:18]9c4862c3-0bab-49c3-bc2f-ac5486826766
ms: 375
>>
Background:
7705
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7706
* def mystorage = Java.type('storage.DataStorage')
1
7707
* def db = new mystorage
1
7708
* def db = db.setfeature(karate.info.featureFileName)
2
7709
* def separator = java.lang.System.getProperty("file.separator")
2
7710
* def outputpath = db.outputpath()
1
7711
* eval db.ensureDirectory(outputpath)
1
7712
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7713
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7714
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7715
Given path 'geonetwork/srv/dut/inspire'
0
7716
And param service = 'CSW'
0
7717
And param version = '2.0.2'
0
7718
And param request = 'GetRecordById'
0
7719
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766'
0
7720
And param elementsetname = 'full'
0
7721
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7722
When method get
336
7723
Then status 200
0
7724
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766'
3
7725
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
7726
* def title = get response //citation/CI_Citation/title/CharacterString
3
7727
* def email = get response //electronicMailAddress/CharacterString
3
7728
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
7729
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
7730
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7731
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
7732
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
7733
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
7734
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
7735
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
7736
* print organisationpath
0
10:30:56.374 [print] Beheer PDOK
7737
* print operateson
0
10:30:56.374 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
7738
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
7739
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7740
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.216:18]a7aeddf2-3b37-4668-9c75-de93d9326276
ms: 297
>>
Background:
7741
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7742
* def mystorage = Java.type('storage.DataStorage')
1
7743
* def db = new mystorage
1
7744
* def db = db.setfeature(karate.info.featureFileName)
2
7745
* def separator = java.lang.System.getProperty("file.separator")
2
7746
* def outputpath = db.outputpath()
1
7747
* eval db.ensureDirectory(outputpath)
1
7748
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7749
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7750
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7751
Given path 'geonetwork/srv/dut/inspire'
1
7752
And param service = 'CSW'
0
7753
And param version = '2.0.2'
0
7754
And param request = 'GetRecordById'
0
7755
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276'
0
7756
And param elementsetname = 'full'
0
7757
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7758
When method get
286
7759
Then status 200
0
7760
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276'
1
7761
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7762
* def title = get response //citation/CI_Citation/title/CharacterString
1
7763
* def email = get response //electronicMailAddress/CharacterString
0
7764
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7765
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7766
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7767
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7768
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7769
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7770
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7771
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7772
* print organisationpath
0
10:30:56.426 [print] Beheer PDOK
7773
* print operateson
0
10:30:56.426 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
7774
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7775
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7776
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.217:18]fff9d7cf-9929-4dde-98b8-06ceda7e5610
ms: 301
>>
Background:
7777
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7778
* def mystorage = Java.type('storage.DataStorage')
1
7779
* def db = new mystorage
1
7780
* def db = db.setfeature(karate.info.featureFileName)
2
7781
* def separator = java.lang.System.getProperty("file.separator")
2
7782
* def outputpath = db.outputpath()
1
7783
* eval db.ensureDirectory(outputpath)
1
7784
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7785
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7786
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7787
Given path 'geonetwork/srv/dut/inspire'
1
7788
And param service = 'CSW'
0
7789
And param version = '2.0.2'
0
7790
And param request = 'GetRecordById'
0
7791
And param id = 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
0
7792
And param elementsetname = 'full'
0
7793
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7794
When method get
288
7795
Then status 200
0
7796
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
1
7797
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7798
* def title = get response //citation/CI_Citation/title/CharacterString
1
7799
* def email = get response //electronicMailAddress/CharacterString
1
7800
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7801
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7802
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7803
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7804
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7805
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7806
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7807
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7808
* print organisationpath
0
10:30:56.491 [print] Beheer PDOK
7809
* print operateson
0
10:30:56.492 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
7810
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7811
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7812
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.218:18]1601e160-91e8-4091-9aca-10294f819d42
ms: 346
>>
Background:
7813
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7814
* def mystorage = Java.type('storage.DataStorage')
1
7815
* def db = new mystorage
1
7816
* def db = db.setfeature(karate.info.featureFileName)
2
7817
* def separator = java.lang.System.getProperty("file.separator")
2
7818
* def outputpath = db.outputpath()
1
7819
* eval db.ensureDirectory(outputpath)
1
7820
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7821
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7822
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7823
Given path 'geonetwork/srv/dut/inspire'
0
7824
And param service = 'CSW'
0
7825
And param version = '2.0.2'
0
7826
And param request = 'GetRecordById'
0
7827
And param id = '1601e160-91e8-4091-9aca-10294f819d42'
1
7828
And param elementsetname = 'full'
0
7829
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7830
When method get
283
7831
Then status 200
0
7832
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42'
1
7833
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7834
* def title = get response //citation/CI_Citation/title/CharacterString
1
7835
* def email = get response //electronicMailAddress/CharacterString
1
7836
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7837
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7838
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7839
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7840
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7841
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7842
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7843
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
48
7844
* print organisationpath
0
10:30:56.644 [print] Beheer PDOK
7845
* print operateson
0
10:30:56.645 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
7846
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
4
7847
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7848
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.219:18]c474b492-da63-4a33-9bdd-b3709ce2cd6c
ms: 294
>>
Background:
7849
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7850
* def mystorage = Java.type('storage.DataStorage')
1
7851
* def db = new mystorage
1
7852
* def db = db.setfeature(karate.info.featureFileName)
2
7853
* def separator = java.lang.System.getProperty("file.separator")
2
7854
* def outputpath = db.outputpath()
1
7855
* eval db.ensureDirectory(outputpath)
1
7856
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7857
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7858
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7859
Given path 'geonetwork/srv/dut/inspire'
0
7860
And param service = 'CSW'
0
7861
And param version = '2.0.2'
0
7862
And param request = 'GetRecordById'
0
7863
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
7864
And param elementsetname = 'full'
0
7865
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7866
When method get
284
7867
Then status 200
0
7868
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
7869
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7870
* def title = get response //citation/CI_Citation/title/CharacterString
0
7871
* def email = get response //electronicMailAddress/CharacterString
0
7872
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7873
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7874
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7875
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7876
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7877
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7878
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7879
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7880
* print organisationpath
0
10:30:56.672 [print] Beheer PDOK
7881
* print operateson
0
10:30:56.672 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
7882
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7883
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7884
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.220:18]7827b68f-647e-46cc-a02a-cac48eaa5dda
ms: 288
>>
Background:
7885
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7886
* def mystorage = Java.type('storage.DataStorage')
1
7887
* def db = new mystorage
1
7888
* def db = db.setfeature(karate.info.featureFileName)
2
7889
* def separator = java.lang.System.getProperty("file.separator")
2
7890
* def outputpath = db.outputpath()
1
7891
* eval db.ensureDirectory(outputpath)
1
7892
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7893
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7894
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7895
Given path 'geonetwork/srv/dut/inspire'
0
7896
And param service = 'CSW'
0
7897
And param version = '2.0.2'
0
7898
And param request = 'GetRecordById'
0
7899
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
7900
And param elementsetname = 'full'
0
7901
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7902
When method get
277
7903
Then status 200
0
7904
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
7905
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7906
* def title = get response //citation/CI_Citation/title/CharacterString
0
7907
* def email = get response //electronicMailAddress/CharacterString
0
7908
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7909
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7910
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7911
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7912
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7913
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7914
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7915
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7916
* print organisationpath
0
10:30:56.714 [print] Beheer PDOK
7917
* print operateson
0
10:30:56.715 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
7918
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7919
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7920
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.221:18]8abcd2d1-3beb-43e5-a572-2b2da05a0a98
ms: 302
>>
Background:
7921
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7922
* def mystorage = Java.type('storage.DataStorage')
1
7923
* def db = new mystorage
1
7924
* def db = db.setfeature(karate.info.featureFileName)
2
7925
* def separator = java.lang.System.getProperty("file.separator")
2
7926
* def outputpath = db.outputpath()
1
7927
* eval db.ensureDirectory(outputpath)
1
7928
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7929
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7930
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7931
Given path 'geonetwork/srv/dut/inspire'
1
7932
And param service = 'CSW'
0
7933
And param version = '2.0.2'
0
7934
And param request = 'GetRecordById'
0
7935
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
7936
And param elementsetname = 'full'
0
7937
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7938
When method get
289
7939
Then status 200
0
7940
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
7941
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7942
* def title = get response //citation/CI_Citation/title/CharacterString
1
7943
* def email = get response //electronicMailAddress/CharacterString
0
7944
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7945
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7946
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7947
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7948
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7949
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7950
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7951
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7952
* print organisationpath
0
10:30:56.794 [print] Beheer PDOK
7953
* print operateson
0
10:30:56.795 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
7954
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7955
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7956
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.222:18]9c5351c8-d8f4-41c2-9642-42a63496a6fe
ms: 325
>>
Background:
7957
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7958
* def mystorage = Java.type('storage.DataStorage')
1
7959
* def db = new mystorage
1
7960
* def db = db.setfeature(karate.info.featureFileName)
2
7961
* def separator = java.lang.System.getProperty("file.separator")
2
7962
* def outputpath = db.outputpath()
1
7963
* eval db.ensureDirectory(outputpath)
1
7964
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7965
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7966
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7967
Given path 'geonetwork/srv/dut/inspire'
1
7968
And param service = 'CSW'
0
7969
And param version = '2.0.2'
0
7970
And param request = 'GetRecordById'
0
7971
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
1
7972
And param elementsetname = 'full'
0
7973
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7974
When method get
300
7975
Then status 200
0
7976
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
2
7977
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
7978
* def title = get response //citation/CI_Citation/title/CharacterString
2
7979
* def email = get response //electronicMailAddress/CharacterString
2
7980
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
7981
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
7982
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7983
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7984
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7985
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7986
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7987
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
7988
* print organisationpath
0
10:30:56.972 [print] Beheer PDOK
7989
* print operateson
0
10:30:56.972 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
7990
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
7991
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7992
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.223:18]2650d49b-7d9a-49b5-b748-a0372cd9b5cf
ms: 324
>>
Background:
7993
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
7994
* def mystorage = Java.type('storage.DataStorage')
1
7995
* def db = new mystorage
1
7996
* def db = db.setfeature(karate.info.featureFileName)
2
7997
* def separator = java.lang.System.getProperty("file.separator")
2
7998
* def outputpath = db.outputpath()
1
7999
* eval db.ensureDirectory(outputpath)
1
8000
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8001
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8002
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8003
Given path 'geonetwork/srv/dut/inspire'
0
8004
And param service = 'CSW'
0
8005
And param version = '2.0.2'
0
8006
And param request = 'GetRecordById'
0
8007
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
0
8008
And param elementsetname = 'full'
0
8009
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8010
When method get
313
8011
Then status 200
0
8012
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
1
8013
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8014
* def title = get response //citation/CI_Citation/title/CharacterString
0
8015
* def email = get response //electronicMailAddress/CharacterString
0
8016
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8017
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8018
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8019
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8020
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8021
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8022
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8023
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8024
* print organisationpath
0
10:30:56.996 [print] Beheer PDOK
8025
* print operateson
0
10:30:56.996 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification
8026
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8027
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8028
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.224:18]bc0b75c6-3eef-49de-aca2-8483024903c1
ms: 333
>>
Background:
8029
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8030
* def mystorage = Java.type('storage.DataStorage')
1
8031
* def db = new mystorage
1
8032
* def db = db.setfeature(karate.info.featureFileName)
2
8033
* def separator = java.lang.System.getProperty("file.separator")
2
8034
* def outputpath = db.outputpath()
1
8035
* eval db.ensureDirectory(outputpath)
1
8036
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8037
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8038
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8039
Given path 'geonetwork/srv/dut/inspire'
0
8040
And param service = 'CSW'
0
8041
And param version = '2.0.2'
0
8042
And param request = 'GetRecordById'
0
8043
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
8044
And param elementsetname = 'full'
0
8045
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8046
When method get
322
8047
Then status 200
0
8048
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
8049
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8050
* def title = get response //citation/CI_Citation/title/CharacterString
0
8051
* def email = get response //electronicMailAddress/CharacterString
0
8052
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8053
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8054
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8055
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8056
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8057
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8058
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8059
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8060
* print organisationpath
0
10:30:57.049 [print] Beheer PDOK
8061
* print operateson
0
10:30:57.049 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
8062
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8063
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8064
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.225:18]578f993f-4d0b-4c4a-a08b-dfa9e1d1376e
ms: 297
>>
Background:
8065
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8066
* def mystorage = Java.type('storage.DataStorage')
1
8067
* def db = new mystorage
1
8068
* def db = db.setfeature(karate.info.featureFileName)
2
8069
* def separator = java.lang.System.getProperty("file.separator")
2
8070
* def outputpath = db.outputpath()
1
8071
* eval db.ensureDirectory(outputpath)
1
8072
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8073
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8074
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8075
Given path 'geonetwork/srv/dut/inspire'
1
8076
And param service = 'CSW'
0
8077
And param version = '2.0.2'
0
8078
And param request = 'GetRecordById'
0
8079
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
0
8080
And param elementsetname = 'full'
0
8081
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8082
When method get
286
8083
Then status 200
0
8084
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
1
8085
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8086
* def title = get response //citation/CI_Citation/title/CharacterString
0
8087
* def email = get response //electronicMailAddress/CharacterString
0
8088
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
8089
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8090
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8091
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8092
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8093
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8094
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8095
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8096
* print organisationpath
0
10:30:57.091 [print] Beheer PDOK
8097
* print operateson
0
10:30:57.091 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
8098
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8099
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
8100
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.226:18]35359958-c40a-486f-9cf5-567a94de905e
ms: 311
>>
Background:
8101
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8102
* def mystorage = Java.type('storage.DataStorage')
1
8103
* def db = new mystorage
1
8104
* def db = db.setfeature(karate.info.featureFileName)
2
8105
* def separator = java.lang.System.getProperty("file.separator")
2
8106
* def outputpath = db.outputpath()
1
8107
* eval db.ensureDirectory(outputpath)
1
8108
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8109
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8110
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8111
Given path 'geonetwork/srv/dut/inspire'
0
8112
And param service = 'CSW'
0
8113
And param version = '2.0.2'
0
8114
And param request = 'GetRecordById'
0
8115
And param id = '35359958-c40a-486f-9cf5-567a94de905e'
0
8116
And param elementsetname = 'full'
0
8117
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8118
When method get
299
8119
Then status 200
0
8120
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '35359958-c40a-486f-9cf5-567a94de905e'
1
8121
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8122
* def title = get response //citation/CI_Citation/title/CharacterString
0
8123
* def email = get response //electronicMailAddress/CharacterString
0
8124
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8125
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8126
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8127
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8128
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8129
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8130
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8131
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8132
* print organisationpath
0
10:30:57.285 [print] Beheer PDOK
8133
* print operateson
0
10:30:57.285 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
8134
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8135
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8136
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.227:18]d467c2cc-4026-b80a-d4e1a9d2bf79
ms: 324
>>
Background:
8137
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8138
* def mystorage = Java.type('storage.DataStorage')
1
8139
* def db = new mystorage
1
8140
* def db = db.setfeature(karate.info.featureFileName)
2
8141
* def separator = java.lang.System.getProperty("file.separator")
2
8142
* def outputpath = db.outputpath()
1
8143
* eval db.ensureDirectory(outputpath)
1
8144
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8145
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8146
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8147
Given path 'geonetwork/srv/dut/inspire'
0
8148
And param service = 'CSW'
0
8149
And param version = '2.0.2'
0
8150
And param request = 'GetRecordById'
0
8151
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79'
0
8152
And param elementsetname = 'full'
0
8153
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8154
When method get
313
8155
Then status 200
0
8156
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79'
1
8157
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8158
* def title = get response //citation/CI_Citation/title/CharacterString
1
8159
* def email = get response //electronicMailAddress/CharacterString
1
8160
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8161
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8162
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8163
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8164
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8165
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8166
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8167
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8168
* print organisationpath
0
10:30:57.321 [print] Beheer PDOK
8169
* print operateson
0
10:30:57.321 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
8170
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8171
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8172
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.228:18]94e5b115-bece-4140-99ed-93b8f363948e
ms: 342
>>
Background:
8173
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8174
* def mystorage = Java.type('storage.DataStorage')
1
8175
* def db = new mystorage
1
8176
* def db = db.setfeature(karate.info.featureFileName)
2
8177
* def separator = java.lang.System.getProperty("file.separator")
2
8178
* def outputpath = db.outputpath()
1
8179
* eval db.ensureDirectory(outputpath)
1
8180
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8181
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8182
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8183
Given path 'geonetwork/srv/dut/inspire'
1
8184
And param service = 'CSW'
0
8185
And param version = '2.0.2'
0
8186
And param request = 'GetRecordById'
0
8187
And param id = '94e5b115-bece-4140-99ed-93b8f363948e'
1
8188
And param elementsetname = 'full'
0
8189
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8190
When method get
329
8191
Then status 200
0
8192
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e'
1
8193
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8194
* def title = get response //citation/CI_Citation/title/CharacterString
1
8195
* def email = get response //electronicMailAddress/CharacterString
1
8196
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8197
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8198
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8199
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8200
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8201
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8202
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8203
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8204
* print organisationpath
1
10:30:57.391 [print] Beheer PDOK
8205
* print operateson
0
10:30:57.391 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
8206
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8207
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8208
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.229:18]ca9f6d28-b548-41dc-a862-52daa86d1834
ms: 393
>>
Background:
8209
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8210
* def mystorage = Java.type('storage.DataStorage')
1
8211
* def db = new mystorage
1
8212
* def db = db.setfeature(karate.info.featureFileName)
2
8213
* def separator = java.lang.System.getProperty("file.separator")
2
8214
* def outputpath = db.outputpath()
1
8215
* eval db.ensureDirectory(outputpath)
1
8216
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8217
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8218
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8219
Given path 'geonetwork/srv/dut/inspire'
1
8220
And param service = 'CSW'
0
8221
And param version = '2.0.2'
0
8222
And param request = 'GetRecordById'
0
8223
And param id = 'ca9f6d28-b548-41dc-a862-52daa86d1834'
0
8224
And param elementsetname = 'full'
0
8225
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8226
When method get
380
8227
Then status 200
0
8228
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca9f6d28-b548-41dc-a862-52daa86d1834'
1
8229
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8230
* def title = get response //citation/CI_Citation/title/CharacterString
1
8231
* def email = get response //electronicMailAddress/CharacterString
0
8232
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8233
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8234
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8235
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8236
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8237
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8238
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8239
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8240
* print organisationpath
0
10:30:57.484 [print] Beheer PDOK
8241
* print operateson
1
10:30:57.485 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
8242
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8243
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8244
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.230:18]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 293
>>
Background:
8245
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8246
* def mystorage = Java.type('storage.DataStorage')
1
8247
* def db = new mystorage
1
8248
* def db = db.setfeature(karate.info.featureFileName)
2
8249
* def separator = java.lang.System.getProperty("file.separator")
2
8250
* def outputpath = db.outputpath()
1
8251
* eval db.ensureDirectory(outputpath)
1
8252
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8253
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8254
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8255
Given path 'geonetwork/srv/dut/inspire'
0
8256
And param service = 'CSW'
0
8257
And param version = '2.0.2'
0
8258
And param request = 'GetRecordById'
0
8259
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
8260
And param elementsetname = 'full'
0
8261
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8262
When method get
282
8263
Then status 200
0
8264
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
8265
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8266
* def title = get response //citation/CI_Citation/title/CharacterString
0
8267
* def email = get response //electronicMailAddress/CharacterString
0
8268
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8269
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8270
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8271
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8272
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8273
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8274
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8275
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8276
* print organisationpath
0
10:30:57.579 [print] Beheer PDOK
8277
* print operateson
0
10:30:57.579 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
8278
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8279
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8280
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.231:18]9c80458b-12c6-4d38-8f6d-387ab6e4ed21
ms: 301
>>
Background:
8281
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8282
* def mystorage = Java.type('storage.DataStorage')
1
8283
* def db = new mystorage
1
8284
* def db = db.setfeature(karate.info.featureFileName)
2
8285
* def separator = java.lang.System.getProperty("file.separator")
2
8286
* def outputpath = db.outputpath()
1
8287
* eval db.ensureDirectory(outputpath)
1
8288
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8289
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8290
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8291
Given path 'geonetwork/srv/dut/inspire'
0
8292
And param service = 'CSW'
0
8293
And param version = '2.0.2'
0
8294
And param request = 'GetRecordById'
0
8295
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
2
8296
And param elementsetname = 'full'
0
8297
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8298
When method get
289
8299
Then status 200
0
8300
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
1
8301
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8302
* def title = get response //citation/CI_Citation/title/CharacterString
0
8303
* def email = get response //electronicMailAddress/CharacterString
0
8304
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8305
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8306
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8307
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8308
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8309
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8310
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8311
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8312
* print organisationpath
0
10:30:57.623 [print] Beheer PDOK
8313
* print operateson
0
10:30:57.623 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
8314
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8315
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8316
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.232:18]aaf53e6f-fe99-4a86-a61c-50b128412d80
ms: 305
>>
Background:
8317
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8318
* def mystorage = Java.type('storage.DataStorage')
1
8319
* def db = new mystorage
1
8320
* def db = db.setfeature(karate.info.featureFileName)
2
8321
* def separator = java.lang.System.getProperty("file.separator")
2
8322
* def outputpath = db.outputpath()
1
8323
* eval db.ensureDirectory(outputpath)
1
8324
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8325
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8326
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8327
Given path 'geonetwork/srv/dut/inspire'
0
8328
And param service = 'CSW'
0
8329
And param version = '2.0.2'
0
8330
And param request = 'GetRecordById'
0
8331
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
0
8332
And param elementsetname = 'full'
0
8333
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8334
When method get
284
8335
Then status 200
0
8336
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
1
8337
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8338
* def title = get response //citation/CI_Citation/title/CharacterString
0
8339
* def email = get response //electronicMailAddress/CharacterString
0
8340
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8341
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8342
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8343
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8344
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8345
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8346
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8347
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8348
* print organisationpath
0
10:30:57.686 [print] Beheer PDOK
8349
* print operateson
0
10:30:57.687 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
8350
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
11
8351
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8352
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.233:18]b196f948-5d87-4eb4-9854-a93841c3877f
ms: 337
>>
Background:
8353
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8354
* def mystorage = Java.type('storage.DataStorage')
1
8355
* def db = new mystorage
1
8356
* def db = db.setfeature(karate.info.featureFileName)
2
8357
* def separator = java.lang.System.getProperty("file.separator")
2
8358
* def outputpath = db.outputpath()
1
8359
* eval db.ensureDirectory(outputpath)
1
8360
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8361
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8362
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8363
Given path 'geonetwork/srv/dut/inspire'
0
8364
And param service = 'CSW'
0
8365
And param version = '2.0.2'
0
8366
And param request = 'GetRecordById'
0
8367
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f'
0
8368
And param elementsetname = 'full'
0
8369
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8370
When method get
300
8371
Then status 200
0
8372
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f'
10
8373
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8374
* def title = get response //citation/CI_Citation/title/CharacterString
1
8375
* def email = get response //electronicMailAddress/CharacterString
0
8376
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
7
8377
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8378
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8379
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8380
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8381
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8382
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8383
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8384
* print organisationpath
0
10:30:57.813 [print] Beheer PDOK
8385
* print operateson
0
10:30:57.813 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
8386
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
11
8387
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8388
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.234:18]275b64ab-34c2-41f8-8904-97812c7f716e
ms: 360
>>
Background:
8389
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8390
* def mystorage = Java.type('storage.DataStorage')
1
8391
* def db = new mystorage
1
8392
* def db = db.setfeature(karate.info.featureFileName)
2
8393
* def separator = java.lang.System.getProperty("file.separator")
2
8394
* def outputpath = db.outputpath()
1
8395
* eval db.ensureDirectory(outputpath)
1
8396
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8397
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8398
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8399
Given path 'geonetwork/srv/dut/inspire'
1
8400
And param service = 'CSW'
0
8401
And param version = '2.0.2'
0
8402
And param request = 'GetRecordById'
0
8403
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e'
1
8404
And param elementsetname = 'full'
0
8405
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8406
When method get
346
8407
Then status 200
0
8408
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e'
1
8409
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8410
* def title = get response //citation/CI_Citation/title/CharacterString
0
8411
* def email = get response //electronicMailAddress/CharacterString
0
8412
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8413
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8414
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8415
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8416
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8417
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8418
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8419
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8420
* print organisationpath
0
10:30:57.936 [print] Beheer PDOK
8421
* print operateson
0
10:30:57.936 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
8422
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8423
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
8424
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.235:18]a035801a-3256-4a36-9f81-02421aacee17
ms: 332
>>
Background:
8425
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8426
* def mystorage = Java.type('storage.DataStorage')
1
8427
* def db = new mystorage
1
8428
* def db = db.setfeature(karate.info.featureFileName)
2
8429
* def separator = java.lang.System.getProperty("file.separator")
2
8430
* def outputpath = db.outputpath()
1
8431
* eval db.ensureDirectory(outputpath)
1
8432
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8433
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8434
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8435
Given path 'geonetwork/srv/dut/inspire'
0
8436
And param service = 'CSW'
0
8437
And param version = '2.0.2'
0
8438
And param request = 'GetRecordById'
0
8439
And param id = 'a035801a-3256-4a36-9f81-02421aacee17'
0
8440
And param elementsetname = 'full'
0
8441
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8442
When method get
321
8443
Then status 200
0
8444
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a035801a-3256-4a36-9f81-02421aacee17'
1
8445
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8446
* def title = get response //citation/CI_Citation/title/CharacterString
1
8447
* def email = get response //electronicMailAddress/CharacterString
1
8448
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8449
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8450
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8451
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8452
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8453
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8454
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8455
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8456
* print organisationpath
0
10:30:57.956 [print] Beheer PDOK
8457
* print operateson
0
10:30:57.956 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
8458
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8459
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8460
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.236:18]bfcc588f-9393-4c70-b989-d9e92ac2f493
ms: 333
>>
Background:
8461
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8462
* def mystorage = Java.type('storage.DataStorage')
1
8463
* def db = new mystorage
1
8464
* def db = db.setfeature(karate.info.featureFileName)
2
8465
* def separator = java.lang.System.getProperty("file.separator")
2
8466
* def outputpath = db.outputpath()
1
8467
* eval db.ensureDirectory(outputpath)
1
8468
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8469
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8470
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8471
Given path 'geonetwork/srv/dut/inspire'
1
8472
And param service = 'CSW'
0
8473
And param version = '2.0.2'
0
8474
And param request = 'GetRecordById'
0
8475
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
1
8476
And param elementsetname = 'full'
5
8477
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
10
8478
When method get
304
8479
Then status 200
0
8480
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
1
8481
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8482
* def title = get response //citation/CI_Citation/title/CharacterString
1
8483
* def email = get response //electronicMailAddress/CharacterString
1
8484
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8485
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8486
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8487
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8488
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8489
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8490
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8491
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8492
* print organisationpath
0
10:30:58.028 [print] Beheer PDOK
8493
* print operateson
0
10:30:58.028 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
8494
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8495
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
8496
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.237:18]b87a0095-2ad7-4dbb-81a1-fed060df79e1
ms: 300
>>
Background:
8497
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8498
* def mystorage = Java.type('storage.DataStorage')
1
8499
* def db = new mystorage
1
8500
* def db = db.setfeature(karate.info.featureFileName)
2
8501
* def separator = java.lang.System.getProperty("file.separator")
2
8502
* def outputpath = db.outputpath()
1
8503
* eval db.ensureDirectory(outputpath)
1
8504
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8505
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8506
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8507
Given path 'geonetwork/srv/dut/inspire'
1
8508
And param service = 'CSW'
0
8509
And param version = '2.0.2'
0
8510
And param request = 'GetRecordById'
0
8511
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
1
8512
And param elementsetname = 'full'
0
8513
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
20
8514
When method get
270
8515
Then status 200
0
8516
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
1
8517
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8518
* def title = get response //citation/CI_Citation/title/CharacterString
0
8519
* def email = get response //electronicMailAddress/CharacterString
0
8520
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
8521
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8522
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8523
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8524
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8525
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8526
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8527
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8528
* print organisationpath
0
10:30:58.124 [print] Beheer PDOK
8529
* print operateson
0
10:30:58.124 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
8530
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8531
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8532
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.238:18]32b1eb9e-c54f-4598-92d2-328eb77fa0d3
ms: 295
>>
Background:
8533
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8534
* def mystorage = Java.type('storage.DataStorage')
1
8535
* def db = new mystorage
1
8536
* def db = db.setfeature(karate.info.featureFileName)
2
8537
* def separator = java.lang.System.getProperty("file.separator")
2
8538
* def outputpath = db.outputpath()
1
8539
* eval db.ensureDirectory(outputpath)
1
8540
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8541
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8542
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8543
Given path 'geonetwork/srv/dut/inspire'
1
8544
And param service = 'CSW'
0
8545
And param version = '2.0.2'
0
8546
And param request = 'GetRecordById'
0
8547
And param id = '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
8548
And param elementsetname = 'full'
0
8549
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8550
When method get
284
8551
Then status 200
0
8552
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
8553
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8554
* def title = get response //citation/CI_Citation/title/CharacterString
0
8555
* def email = get response //electronicMailAddress/CharacterString
0
8556
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8557
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8558
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8559
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8560
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8561
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8562
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8563
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8564
* print organisationpath
0
10:30:58.236 [print] Beheer PDOK
8565
* print operateson
0
10:30:58.236 [print] http://nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
8566
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8567
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8568
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.239:18]027e3f15-3b58-4570-97bb-779ce3ca947e
ms: 315
>>
Background:
8569
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8570
* def mystorage = Java.type('storage.DataStorage')
1
8571
* def db = new mystorage
1
8572
* def db = db.setfeature(karate.info.featureFileName)
2
8573
* def separator = java.lang.System.getProperty("file.separator")
2
8574
* def outputpath = db.outputpath()
1
8575
* eval db.ensureDirectory(outputpath)
1
8576
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8577
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8578
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8579
Given path 'geonetwork/srv/dut/inspire'
0
8580
And param service = 'CSW'
0
8581
And param version = '2.0.2'
0
8582
And param request = 'GetRecordById'
0
8583
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e'
0
8584
And param elementsetname = 'full'
0
8585
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8586
When method get
304
8587
Then status 200
0
8588
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e'
1
8589
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8590
* def title = get response //citation/CI_Citation/title/CharacterString
1
8591
* def email = get response //electronicMailAddress/CharacterString
0
8592
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8593
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8594
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8595
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8596
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8597
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8598
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8599
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8600
* print organisationpath
0
10:30:58.271 [print] Beheer PDOK
8601
* print operateson
0
10:30:58.271 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
8602
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8603
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8604
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.240:18]3ac5737f-55ed-455d-8350-44af11b67fc3
ms: 294
>>
Background:
8605
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8606
* def mystorage = Java.type('storage.DataStorage')
1
8607
* def db = new mystorage
1
8608
* def db = db.setfeature(karate.info.featureFileName)
2
8609
* def separator = java.lang.System.getProperty("file.separator")
2
8610
* def outputpath = db.outputpath()
1
8611
* eval db.ensureDirectory(outputpath)
1
8612
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8613
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8614
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8615
Given path 'geonetwork/srv/dut/inspire'
2
8616
And param service = 'CSW'
0
8617
And param version = '2.0.2'
0
8618
And param request = 'GetRecordById'
0
8619
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3'
0
8620
And param elementsetname = 'full'
0
8621
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8622
When method get
281
8623
Then status 200
0
8624
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3'
1
8625
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8626
* def title = get response //citation/CI_Citation/title/CharacterString
1
8627
* def email = get response //electronicMailAddress/CharacterString
1
8628
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8629
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8630
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8631
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8632
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8633
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8634
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8635
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8636
* print organisationpath
0
10:30:58.324 [print] Beheer PDOK
8637
* print operateson
0
10:30:58.324 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
8638
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8639
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8640
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.241:18]2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0
ms: 321
>>
Background:
8641
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8642
* def mystorage = Java.type('storage.DataStorage')
1
8643
* def db = new mystorage
1
8644
* def db = db.setfeature(karate.info.featureFileName)
2
8645
* def separator = java.lang.System.getProperty("file.separator")
2
8646
* def outputpath = db.outputpath()
1
8647
* eval db.ensureDirectory(outputpath)
1
8648
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8649
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8650
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8651
Given path 'geonetwork/srv/dut/inspire'
1
8652
And param service = 'CSW'
0
8653
And param version = '2.0.2'
0
8654
And param request = 'GetRecordById'
0
8655
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
8656
And param elementsetname = 'full'
0
8657
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8658
When method get
310
8659
Then status 200
0
8660
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
8661
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8662
* def title = get response //citation/CI_Citation/title/CharacterString
0
8663
* def email = get response //electronicMailAddress/CharacterString
1
8664
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8665
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8666
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8667
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8668
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8669
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8670
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8671
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8672
* print organisationpath
0
10:30:58.446 [print] Beheer PDOK
8673
* print operateson
0
10:30:58.446 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185g1#MD_DataIdentification
8674
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8675
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8676
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.242:18]ac3a9efe-2154-4a4c-aae3-ea269044945d
ms: 314
>>
Background:
8677
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8678
* def mystorage = Java.type('storage.DataStorage')
1
8679
* def db = new mystorage
1
8680
* def db = db.setfeature(karate.info.featureFileName)
2
8681
* def separator = java.lang.System.getProperty("file.separator")
2
8682
* def outputpath = db.outputpath()
1
8683
* eval db.ensureDirectory(outputpath)
1
8684
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8685
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8686
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8687
Given path 'geonetwork/srv/dut/inspire'
0
8688
And param service = 'CSW'
0
8689
And param version = '2.0.2'
0
8690
And param request = 'GetRecordById'
0
8691
And param id = 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
1
8692
And param elementsetname = 'full'
0
8693
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8694
When method get
304
8695
Then status 200
0
8696
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
1
8697
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8698
* def title = get response //citation/CI_Citation/title/CharacterString
0
8699
* def email = get response //electronicMailAddress/CharacterString
0
8700
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8701
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8702
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8703
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8704
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8705
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8706
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8707
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8708
* print organisationpath
0
10:30:58.550 [print] Beheer PDOK
8709
* print operateson
0
10:30:58.551 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification
8710
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8711
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8712
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.243:18]3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd
ms: 345
>>
Background:
8713
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8714
* def mystorage = Java.type('storage.DataStorage')
1
8715
* def db = new mystorage
1
8716
* def db = db.setfeature(karate.info.featureFileName)
2
8717
* def separator = java.lang.System.getProperty("file.separator")
2
8718
* def outputpath = db.outputpath()
1
8719
* eval db.ensureDirectory(outputpath)
1
8720
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8721
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8722
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8723
Given path 'geonetwork/srv/dut/inspire'
1
8724
And param service = 'CSW'
0
8725
And param version = '2.0.2'
0
8726
And param request = 'GetRecordById'
0
8727
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
1
8728
And param elementsetname = 'full'
0
8729
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8730
When method get
334
8731
Then status 200
0
8732
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
1
8733
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8734
* def title = get response //citation/CI_Citation/title/CharacterString
1
8735
* def email = get response //electronicMailAddress/CharacterString
1
8736
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8737
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8738
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8739
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8740
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8741
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8742
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8743
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8744
* print organisationpath
0
10:30:58.618 [print] Beheer PDOK
8745
* print operateson
0
10:30:58.618 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
8746
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8747
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8748
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.244:18]dcb7f0d7-d70b-4eab-9a46-7af98de860bd
ms: 347
>>
Background:
8749
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8750
* def mystorage = Java.type('storage.DataStorage')
1
8751
* def db = new mystorage
1
8752
* def db = db.setfeature(karate.info.featureFileName)
2
8753
* def separator = java.lang.System.getProperty("file.separator")
2
8754
* def outputpath = db.outputpath()
1
8755
* eval db.ensureDirectory(outputpath)
1
8756
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8757
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8758
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8759
Given path 'geonetwork/srv/dut/inspire'
1
8760
And param service = 'CSW'
0
8761
And param version = '2.0.2'
0
8762
And param request = 'GetRecordById'
0
8763
And param id = 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
8764
And param elementsetname = 'full'
0
8765
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8766
When method get
334
8767
Then status 200
0
8768
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
8769
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8770
* def title = get response //citation/CI_Citation/title/CharacterString
1
8771
* def email = get response //electronicMailAddress/CharacterString
1
8772
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8773
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8774
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8775
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8776
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8777
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8778
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8779
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8780
* print organisationpath
0
10:30:58.672 [print] Beheer PDOK
8781
* print operateson
0
10:30:58.672 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
8782
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8783
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8784
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.245:18]25c69c01-8dfa-406f-bbcb-24feba25dcc6
ms: 287
>>
Background:
8785
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8786
* def mystorage = Java.type('storage.DataStorage')
1
8787
* def db = new mystorage
1
8788
* def db = db.setfeature(karate.info.featureFileName)
2
8789
* def separator = java.lang.System.getProperty("file.separator")
2
8790
* def outputpath = db.outputpath()
1
8791
* eval db.ensureDirectory(outputpath)
1
8792
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8793
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8794
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8795
Given path 'geonetwork/srv/dut/inspire'
0
8796
And param service = 'CSW'
0
8797
And param version = '2.0.2'
0
8798
And param request = 'GetRecordById'
0
8799
And param id = '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
1
8800
And param elementsetname = 'full'
0
8801
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8802
When method get
275
8803
Then status 200
0
8804
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
1
8805
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8806
* def title = get response //citation/CI_Citation/title/CharacterString
0
8807
* def email = get response //electronicMailAddress/CharacterString
1
8808
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8809
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8810
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8811
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8812
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8813
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8814
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8815
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8816
* print organisationpath
0
10:30:58.733 [print] Beheer PDOK
8817
* print operateson
0
10:30:58.733 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification" ]
8818
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8819
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8820
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.246:18]d7a395a2-8673-4794-a5a6-fed6492cd580
ms: 299
>>
Background:
8821
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8822
* def mystorage = Java.type('storage.DataStorage')
1
8823
* def db = new mystorage
1
8824
* def db = db.setfeature(karate.info.featureFileName)
2
8825
* def separator = java.lang.System.getProperty("file.separator")
2
8826
* def outputpath = db.outputpath()
1
8827
* eval db.ensureDirectory(outputpath)
1
8828
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8829
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8830
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8831
Given path 'geonetwork/srv/dut/inspire'
1
8832
And param service = 'CSW'
0
8833
And param version = '2.0.2'
0
8834
And param request = 'GetRecordById'
0
8835
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580'
1
8836
And param elementsetname = 'full'
0
8837
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8838
When method get
286
8839
Then status 200
0
8840
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580'
1
8841
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8842
* def title = get response //citation/CI_Citation/title/CharacterString
1
8843
* def email = get response //electronicMailAddress/CharacterString
1
8844
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8845
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8846
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8847
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8848
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8849
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8850
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8851
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8852
* print organisationpath
0
10:30:58.850 [print] Beheer PDOK
8853
* print operateson
0
10:30:58.850 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification" ]
8854
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8855
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8856
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.247:18]58353cdf-b3a1-454e-9284-932a7e815e57
ms: 303
>>
Background:
8857
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8858
* def mystorage = Java.type('storage.DataStorage')
1
8859
* def db = new mystorage
1
8860
* def db = db.setfeature(karate.info.featureFileName)
2
8861
* def separator = java.lang.System.getProperty("file.separator")
2
8862
* def outputpath = db.outputpath()
1
8863
* eval db.ensureDirectory(outputpath)
1
8864
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8865
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8866
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8867
Given path 'geonetwork/srv/dut/inspire'
0
8868
And param service = 'CSW'
0
8869
And param version = '2.0.2'
0
8870
And param request = 'GetRecordById'
0
8871
And param id = '58353cdf-b3a1-454e-9284-932a7e815e57'
0
8872
And param elementsetname = 'full'
0
8873
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8874
When method get
291
8875
Then status 200
0
8876
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58353cdf-b3a1-454e-9284-932a7e815e57'
1
8877
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8878
* def title = get response //citation/CI_Citation/title/CharacterString
1
8879
* def email = get response //electronicMailAddress/CharacterString
1
8880
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8881
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8882
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8883
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8884
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8885
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8886
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8887
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8888
* print organisationpath
0
10:30:58.921 [print] Beheer PDOK
8889
* print operateson
0
10:30:58.921 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
8890
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8891
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8892
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.248:18]30f65c89-2246-49f8-8b50-0f1140d6f2aa
ms: 289
>>
Background:
8893
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8894
* def mystorage = Java.type('storage.DataStorage')
1
8895
* def db = new mystorage
1
8896
* def db = db.setfeature(karate.info.featureFileName)
2
8897
* def separator = java.lang.System.getProperty("file.separator")
2
8898
* def outputpath = db.outputpath()
1
8899
* eval db.ensureDirectory(outputpath)
1
8900
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8901
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8902
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8903
Given path 'geonetwork/srv/dut/inspire'
0
8904
And param service = 'CSW'
0
8905
And param version = '2.0.2'
0
8906
And param request = 'GetRecordById'
0
8907
And param id = '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
8908
And param elementsetname = 'full'
0
8909
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8910
When method get
277
8911
Then status 200
0
8912
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
8913
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8914
* def title = get response //citation/CI_Citation/title/CharacterString
1
8915
* def email = get response //electronicMailAddress/CharacterString
1
8916
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8917
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8918
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8919
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8920
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8921
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8922
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8923
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8924
* print organisationpath
0
10:30:58.961 [print] Beheer PDOK
8925
* print operateson
0
10:30:58.961 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
8926
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8927
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8928
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.249:18]2f12ef7d-3eb4-46a9-8b45-702a0f054d57
ms: 303
>>
Background:
8929
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8930
* def mystorage = Java.type('storage.DataStorage')
1
8931
* def db = new mystorage
1
8932
* def db = db.setfeature(karate.info.featureFileName)
2
8933
* def separator = java.lang.System.getProperty("file.separator")
2
8934
* def outputpath = db.outputpath()
1
8935
* eval db.ensureDirectory(outputpath)
1
8936
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8937
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8938
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8939
Given path 'geonetwork/srv/dut/inspire'
1
8940
And param service = 'CSW'
0
8941
And param version = '2.0.2'
0
8942
And param request = 'GetRecordById'
0
8943
And param id = '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
8944
And param elementsetname = 'full'
0
8945
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8946
When method get
290
8947
Then status 200
0
8948
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
8949
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8950
* def title = get response //citation/CI_Citation/title/CharacterString
1
8951
* def email = get response //electronicMailAddress/CharacterString
1
8952
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8953
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8954
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8955
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8956
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8957
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8958
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8959
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8960
* print organisationpath
0
10:30:59.037 [print] Beheer PDOK
8961
* print operateson
0
10:30:59.037 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
8962
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8963
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8964
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.250:18]18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79
ms: 291
>>
Background:
8965
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
8966
* def mystorage = Java.type('storage.DataStorage')
1
8967
* def db = new mystorage
1
8968
* def db = db.setfeature(karate.info.featureFileName)
2
8969
* def separator = java.lang.System.getProperty("file.separator")
2
8970
* def outputpath = db.outputpath()
1
8971
* eval db.ensureDirectory(outputpath)
1
8972
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8973
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8974
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8975
Given path 'geonetwork/srv/dut/inspire'
1
8976
And param service = 'CSW'
0
8977
And param version = '2.0.2'
0
8978
And param request = 'GetRecordById'
0
8979
And param id = '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
1
8980
And param elementsetname = 'full'
0
8981
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8982
When method get
273
8983
Then status 200
0
8984
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
1
8985
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8986
* def title = get response //citation/CI_Citation/title/CharacterString
1
8987
* def email = get response //electronicMailAddress/CharacterString
1
8988
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8989
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8990
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8991
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8992
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8993
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8994
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8995
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8996
* print organisationpath
0
10:30:59.138 [print] Beheer PDOK
8997
* print operateson
0
10:30:59.138 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
8998
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8999
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
9000
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.251:18]86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f
ms: 302
>>
Background:
9001
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9002
* def mystorage = Java.type('storage.DataStorage')
1
9003
* def db = new mystorage
1
9004
* def db = db.setfeature(karate.info.featureFileName)
2
9005
* def separator = java.lang.System.getProperty("file.separator")
2
9006
* def outputpath = db.outputpath()
1
9007
* eval db.ensureDirectory(outputpath)
1
9008
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9009
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9010
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9011
Given path 'geonetwork/srv/dut/inspire'
1
9012
And param service = 'CSW'
0
9013
And param version = '2.0.2'
0
9014
And param request = 'GetRecordById'
0
9015
And param id = '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
1
9016
And param elementsetname = 'full'
0
9017
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9018
When method get
288
9019
Then status 200
0
9020
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
1
9021
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9022
* def title = get response //citation/CI_Citation/title/CharacterString
1
9023
* def email = get response //electronicMailAddress/CharacterString
1
9024
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9025
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9026
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9027
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9028
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9029
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9030
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9031
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9032
* print organisationpath
0
10:30:59.223 [print] Beheer PDOK
9033
* print operateson
0
10:30:59.223 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
9034
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9035
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9036
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.252:18]0e2580b7-2a15-41a2-b1b6-361265e4f5f4
ms: 308
>>
Background:
9037
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9038
* def mystorage = Java.type('storage.DataStorage')
1
9039
* def db = new mystorage
1
9040
* def db = db.setfeature(karate.info.featureFileName)
2
9041
* def separator = java.lang.System.getProperty("file.separator")
2
9042
* def outputpath = db.outputpath()
1
9043
* eval db.ensureDirectory(outputpath)
1
9044
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9045
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9046
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9047
Given path 'geonetwork/srv/dut/inspire'
0
9048
And param service = 'CSW'
0
9049
And param version = '2.0.2'
0
9050
And param request = 'GetRecordById'
0
9051
And param id = '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
0
9052
And param elementsetname = 'full'
0
9053
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9054
When method get
296
9055
Then status 200
0
9056
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
1
9057
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9058
* def title = get response //citation/CI_Citation/title/CharacterString
1
9059
* def email = get response //electronicMailAddress/CharacterString
1
9060
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9061
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9062
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9063
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9064
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9065
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9066
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9067
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9068
* print organisationpath
1
10:30:59.269 [print] Beheer PDOK
9069
* print operateson
0
10:30:59.270 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
9070
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9071
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9072
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.253:18]5be14ec9-9bb3-4395-a061-e7e78d04a527
ms: 286
>>
Background:
9073
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9074
* def mystorage = Java.type('storage.DataStorage')
1
9075
* def db = new mystorage
1
9076
* def db = db.setfeature(karate.info.featureFileName)
2
9077
* def separator = java.lang.System.getProperty("file.separator")
2
9078
* def outputpath = db.outputpath()
1
9079
* eval db.ensureDirectory(outputpath)
1
9080
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9081
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9082
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9083
Given path 'geonetwork/srv/dut/inspire'
0
9084
And param service = 'CSW'
0
9085
And param version = '2.0.2'
0
9086
And param request = 'GetRecordById'
0
9087
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527'
1
9088
And param elementsetname = 'full'
0
9089
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9090
When method get
275
9091
Then status 200
0
9092
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527'
1
9093
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9094
* def title = get response //citation/CI_Citation/title/CharacterString
0
9095
* def email = get response //electronicMailAddress/CharacterString
0
9096
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9097
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9098
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9099
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9100
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9101
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9102
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9103
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9104
* print organisationpath
0
10:30:59.324 [print] Beheer PDOK
9105
* print operateson
0
10:30:59.324 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
9106
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9107
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9108
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.254:18]635bdc85-c596-4afb-ab07-de20c662310c
ms: 291
>>
Background:
9109
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9110
* def mystorage = Java.type('storage.DataStorage')
1
9111
* def db = new mystorage
1
9112
* def db = db.setfeature(karate.info.featureFileName)
2
9113
* def separator = java.lang.System.getProperty("file.separator")
2
9114
* def outputpath = db.outputpath()
1
9115
* eval db.ensureDirectory(outputpath)
1
9116
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9117
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9118
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9119
Given path 'geonetwork/srv/dut/inspire'
0
9120
And param service = 'CSW'
0
9121
And param version = '2.0.2'
0
9122
And param request = 'GetRecordById'
0
9123
And param id = '635bdc85-c596-4afb-ab07-de20c662310c'
1
9124
And param elementsetname = 'full'
0
9125
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9126
When method get
280
9127
Then status 200
0
9128
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '635bdc85-c596-4afb-ab07-de20c662310c'
1
9129
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9130
* def title = get response //citation/CI_Citation/title/CharacterString
1
9131
* def email = get response //electronicMailAddress/CharacterString
1
9132
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9133
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9134
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9135
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9136
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9137
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9138
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9139
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9140
* print organisationpath
0
10:30:59.433 [print] Beheer PDOK
9141
* print operateson
0
10:30:59.433 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
9142
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9143
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9144
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.255:18]7a914681-61bd-4f67-902b-45037a00c469
ms: 300
>>
Background:
9145
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9146
* def mystorage = Java.type('storage.DataStorage')
1
9147
* def db = new mystorage
1
9148
* def db = db.setfeature(karate.info.featureFileName)
2
9149
* def separator = java.lang.System.getProperty("file.separator")
2
9150
* def outputpath = db.outputpath()
1
9151
* eval db.ensureDirectory(outputpath)
1
9152
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9153
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9154
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9155
Given path 'geonetwork/srv/dut/inspire'
0
9156
And param service = 'CSW'
0
9157
And param version = '2.0.2'
0
9158
And param request = 'GetRecordById'
0
9159
And param id = '7a914681-61bd-4f67-902b-45037a00c469'
0
9160
And param elementsetname = 'full'
0
9161
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9162
When method get
289
9163
Then status 200
0
9164
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a914681-61bd-4f67-902b-45037a00c469'
1
9165
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9166
* def title = get response //citation/CI_Citation/title/CharacterString
1
9167
* def email = get response //electronicMailAddress/CharacterString
0
9168
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9169
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9170
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9171
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9172
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9173
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9174
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9175
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9176
* print organisationpath
0
10:30:59.524 [print] Beheer PDOK
9177
* print operateson
0
10:30:59.524 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
9178
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9179
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9180
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.256:18]3d759186-7cee-4218-aa44-165f3922fbbb
ms: 291
>>
Background:
9181
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9182
* def mystorage = Java.type('storage.DataStorage')
1
9183
* def db = new mystorage
1
9184
* def db = db.setfeature(karate.info.featureFileName)
2
9185
* def separator = java.lang.System.getProperty("file.separator")
2
9186
* def outputpath = db.outputpath()
1
9187
* eval db.ensureDirectory(outputpath)
1
9188
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9189
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9190
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9191
Given path 'geonetwork/srv/dut/inspire'
0
9192
And param service = 'CSW'
0
9193
And param version = '2.0.2'
0
9194
And param request = 'GetRecordById'
0
9195
And param id = '3d759186-7cee-4218-aa44-165f3922fbbb'
0
9196
And param elementsetname = 'full'
0
9197
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9198
When method get
280
9199
Then status 200
0
9200
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d759186-7cee-4218-aa44-165f3922fbbb'
1
9201
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9202
* def title = get response //citation/CI_Citation/title/CharacterString
0
9203
* def email = get response //electronicMailAddress/CharacterString
0
9204
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9205
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9206
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9207
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9208
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9209
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9210
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9211
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9212
* print organisationpath
0
10:30:59.561 [print] Beheer PDOK
9213
* print operateson
0
10:30:59.561 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
9214
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9215
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9216
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.257:18]65f9628b-0a58-4348-8fff-c2d02788acdb
ms: 282
>>
Background:
9217
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9218
* def mystorage = Java.type('storage.DataStorage')
1
9219
* def db = new mystorage
1
9220
* def db = db.setfeature(karate.info.featureFileName)
2
9221
* def separator = java.lang.System.getProperty("file.separator")
2
9222
* def outputpath = db.outputpath()
1
9223
* eval db.ensureDirectory(outputpath)
1
9224
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9225
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9226
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9227
Given path 'geonetwork/srv/dut/inspire'
0
9228
And param service = 'CSW'
0
9229
And param version = '2.0.2'
0
9230
And param request = 'GetRecordById'
0
9231
And param id = '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
9232
And param elementsetname = 'full'
0
9233
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9234
When method get
271
9235
Then status 200
0
9236
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
9237
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9238
* def title = get response //citation/CI_Citation/title/CharacterString
0
9239
* def email = get response //electronicMailAddress/CharacterString
1
9240
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9241
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9242
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9243
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9244
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9245
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9246
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9247
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9248
* print organisationpath
0
10:30:59.607 [print] Beheer PDOK
9249
* print operateson
0
10:30:59.607 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
9250
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9251
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9252
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.258:18]94f241c2-43a2-42c3-8e9e-71976605aa0e
ms: 325
>>
Background:
9253
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9254
* def mystorage = Java.type('storage.DataStorage')
1
9255
* def db = new mystorage
1
9256
* def db = db.setfeature(karate.info.featureFileName)
2
9257
* def separator = java.lang.System.getProperty("file.separator")
2
9258
* def outputpath = db.outputpath()
1
9259
* eval db.ensureDirectory(outputpath)
1
9260
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9261
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9262
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9263
Given path 'geonetwork/srv/dut/inspire'
0
9264
And param service = 'CSW'
0
9265
And param version = '2.0.2'
0
9266
And param request = 'GetRecordById'
0
9267
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e'
1
9268
And param elementsetname = 'full'
0
9269
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9270
When method get
298
9271
Then status 200
0
9272
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e'
1
9273
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9274
* def title = get response //citation/CI_Citation/title/CharacterString
2
9275
* def email = get response //electronicMailAddress/CharacterString
1
9276
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
9277
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9278
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9279
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9280
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9281
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9282
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9283
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
9284
* print organisationpath
0
10:30:59.751 [print] Beheer PDOK
9285
* print operateson
1
10:30:59.751 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=0558a41c-b09a-47fa-b8db-9de6bfe4f494#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification" ]
9286
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9287
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9288
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.259:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fb
ms: 305
>>
Background:
9289
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9290
* def mystorage = Java.type('storage.DataStorage')
1
9291
* def db = new mystorage
1
9292
* def db = db.setfeature(karate.info.featureFileName)
2
9293
* def separator = java.lang.System.getProperty("file.separator")
2
9294
* def outputpath = db.outputpath()
1
9295
* eval db.ensureDirectory(outputpath)
1
9296
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9297
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9298
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9299
Given path 'geonetwork/srv/dut/inspire'
1
9300
And param service = 'CSW'
0
9301
And param version = '2.0.2'
0
9302
And param request = 'GetRecordById'
0
9303
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
0
9304
And param elementsetname = 'full'
0
9305
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9306
When method get
294
9307
Then status 200
0
9308
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
1
9309
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9310
* def title = get response //citation/CI_Citation/title/CharacterString
0
9311
* def email = get response //electronicMailAddress/CharacterString
0
9312
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9313
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9314
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9315
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9316
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9317
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9318
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9319
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9320
* print organisationpath
0
10:30:59.830 [print] Beheer PDOK
9321
* print operateson
0
10:30:59.830 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
9322
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9323
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9324
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.260:18]5bb85b77-fffd-449b-bd61-f076fe07cc4b
ms: 322
>>
Background:
9325
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9326
* def mystorage = Java.type('storage.DataStorage')
1
9327
* def db = new mystorage
1
9328
* def db = db.setfeature(karate.info.featureFileName)
2
9329
* def separator = java.lang.System.getProperty("file.separator")
2
9330
* def outputpath = db.outputpath()
1
9331
* eval db.ensureDirectory(outputpath)
1
9332
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9333
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9334
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9335
Given path 'geonetwork/srv/dut/inspire'
1
9336
And param service = 'CSW'
0
9337
And param version = '2.0.2'
0
9338
And param request = 'GetRecordById'
0
9339
And param id = '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
1
9340
And param elementsetname = 'full'
0
9341
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9342
When method get
311
9343
Then status 200
0
9344
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
1
9345
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9346
* def title = get response //citation/CI_Citation/title/CharacterString
0
9347
* def email = get response //electronicMailAddress/CharacterString
0
9348
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
9349
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9350
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9351
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9352
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9353
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9354
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9355
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9356
* print organisationpath
0
10:30:59.883 [print] Beheer PDOK
9357
* print operateson
0
10:30:59.883 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
9358
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9359
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9360
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.261:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fa
ms: 318
>>
Background:
9361
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9362
* def mystorage = Java.type('storage.DataStorage')
1
9363
* def db = new mystorage
1
9364
* def db = db.setfeature(karate.info.featureFileName)
2
9365
* def separator = java.lang.System.getProperty("file.separator")
2
9366
* def outputpath = db.outputpath()
1
9367
* eval db.ensureDirectory(outputpath)
1
9368
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9369
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9370
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9371
Given path 'geonetwork/srv/dut/inspire'
0
9372
And param service = 'CSW'
0
9373
And param version = '2.0.2'
0
9374
And param request = 'GetRecordById'
0
9375
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
1
9376
And param elementsetname = 'full'
0
9377
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9378
When method get
308
9379
Then status 200
0
9380
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
1
9381
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9382
* def title = get response //citation/CI_Citation/title/CharacterString
0
9383
* def email = get response //electronicMailAddress/CharacterString
0
9384
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
9385
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9386
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9387
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9388
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9389
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9390
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9391
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9392
* print organisationpath
0
10:30:59.926 [print] Beheer PDOK
9393
* print operateson
0
10:30:59.926 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
9394
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9395
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9396
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.262:18]09588464-071b-47be-8cbe-d15f2e1f9634
ms: 357
>>
Background:
9397
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9398
* def mystorage = Java.type('storage.DataStorage')
1
9399
* def db = new mystorage
1
9400
* def db = db.setfeature(karate.info.featureFileName)
2
9401
* def separator = java.lang.System.getProperty("file.separator")
2
9402
* def outputpath = db.outputpath()
1
9403
* eval db.ensureDirectory(outputpath)
1
9404
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9405
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9406
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9407
Given path 'geonetwork/srv/dut/inspire'
1
9408
And param service = 'CSW'
0
9409
And param version = '2.0.2'
0
9410
And param request = 'GetRecordById'
0
9411
And param id = '09588464-071b-47be-8cbe-d15f2e1f9634'
1
9412
And param elementsetname = 'full'
0
9413
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9414
When method get
345
9415
Then status 200
0
9416
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '09588464-071b-47be-8cbe-d15f2e1f9634'
1
9417
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9418
* def title = get response //citation/CI_Citation/title/CharacterString
0
9419
* def email = get response //electronicMailAddress/CharacterString
0
9420
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9421
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9422
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9423
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9424
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9425
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9426
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9427
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9428
* print organisationpath
0
10:31:00.116 [print] Beheer PDOK
9429
* print operateson
1
10:31:00.117 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
9430
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9431
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9432
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.263:18]684ff4f6-1652-45a8-93f0-8e16d37b2a66
ms: 313
>>
Background:
9433
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9434
* def mystorage = Java.type('storage.DataStorage')
1
9435
* def db = new mystorage
1
9436
* def db = db.setfeature(karate.info.featureFileName)
2
9437
* def separator = java.lang.System.getProperty("file.separator")
2
9438
* def outputpath = db.outputpath()
1
9439
* eval db.ensureDirectory(outputpath)
1
9440
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9441
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9442
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9443
Given path 'geonetwork/srv/dut/inspire'
0
9444
And param service = 'CSW'
0
9445
And param version = '2.0.2'
0
9446
And param request = 'GetRecordById'
0
9447
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
0
9448
And param elementsetname = 'full'
0
9449
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9450
When method get
301
9451
Then status 200
0
9452
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
1
9453
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9454
* def title = get response //citation/CI_Citation/title/CharacterString
0
9455
* def email = get response //electronicMailAddress/CharacterString
0
9456
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9457
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9458
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9459
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9460
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9461
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9462
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9463
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9464
* print organisationpath
0
10:31:00.143 [print] Beheer PDOK
9465
* print operateson
0
10:31:00.143 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification
9466
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9467
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9468
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.264:18]88a93a3b-d522-4c5d-9b0f-c6c39a118442
ms: 344
>>
Background:
9469
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9470
* def mystorage = Java.type('storage.DataStorage')
1
9471
* def db = new mystorage
1
9472
* def db = db.setfeature(karate.info.featureFileName)
2
9473
* def separator = java.lang.System.getProperty("file.separator")
2
9474
* def outputpath = db.outputpath()
1
9475
* eval db.ensureDirectory(outputpath)
1
9476
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9477
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9478
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9479
Given path 'geonetwork/srv/dut/inspire'
0
9480
And param service = 'CSW'
0
9481
And param version = '2.0.2'
0
9482
And param request = 'GetRecordById'
0
9483
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
1
9484
And param elementsetname = 'full'
0
9485
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9486
When method get
333
9487
Then status 200
0
9488
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
1
9489
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9490
* def title = get response //citation/CI_Citation/title/CharacterString
0
9491
* def email = get response //electronicMailAddress/CharacterString
0
9492
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9493
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9494
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9495
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9496
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9497
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9498
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9499
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9500
* print organisationpath
0
10:31:00.228 [print] Beheer PDOK
9501
* print operateson
0
10:31:00.229 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
9502
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9503
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9504
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.265:18]d415c10a-8dbf-4c01-8061-4689e5db38ac
ms: 329
>>
Background:
9505
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9506
* def mystorage = Java.type('storage.DataStorage')
1
9507
* def db = new mystorage
1
9508
* def db = db.setfeature(karate.info.featureFileName)
2
9509
* def separator = java.lang.System.getProperty("file.separator")
2
9510
* def outputpath = db.outputpath()
1
9511
* eval db.ensureDirectory(outputpath)
1
9512
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9513
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9514
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9515
Given path 'geonetwork/srv/dut/inspire'
0
9516
And param service = 'CSW'
0
9517
And param version = '2.0.2'
0
9518
And param request = 'GetRecordById'
0
9519
And param id = 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
1
9520
And param elementsetname = 'full'
0
9521
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9522
When method get
315
9523
Then status 200
0
9524
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
1
9525
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9526
* def title = get response //citation/CI_Citation/title/CharacterString
1
9527
* def email = get response //electronicMailAddress/CharacterString
1
9528
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9529
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9530
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9531
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9532
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9533
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
9534
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9535
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9536
* print organisationpath
0
10:31:00.255 [print] Beheer PDOK
9537
* print operateson
0
10:31:00.255 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification" ]
9538
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9539
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9540
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.266:18]a7ed73f4-e16d-46a3-befa-603370cfb6e8
ms: 298
>>
Background:
9541
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9542
* def mystorage = Java.type('storage.DataStorage')
1
9543
* def db = new mystorage
1
9544
* def db = db.setfeature(karate.info.featureFileName)
2
9545
* def separator = java.lang.System.getProperty("file.separator")
2
9546
* def outputpath = db.outputpath()
1
9547
* eval db.ensureDirectory(outputpath)
1
9548
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9549
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9550
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9551
Given path 'geonetwork/srv/dut/inspire'
0
9552
And param service = 'CSW'
0
9553
And param version = '2.0.2'
0
9554
And param request = 'GetRecordById'
0
9555
And param id = 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
0
9556
And param elementsetname = 'full'
0
9557
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9558
When method get
288
9559
Then status 200
0
9560
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
1
9561
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9562
* def title = get response //citation/CI_Citation/title/CharacterString
0
9563
* def email = get response //electronicMailAddress/CharacterString
0
9564
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9565
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9566
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9567
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9568
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9569
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9570
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9571
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9572
* print organisationpath
0
10:31:00.416 [print] Beheer PDOK
9573
* print operateson
0
10:31:00.416 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
9574
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9575
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9576
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.267:18]9940c446-6fd4-4ab3-a4de-7d0ee028a8d1
ms: 369
>>
Background:
9577
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9578
* def mystorage = Java.type('storage.DataStorage')
1
9579
* def db = new mystorage
1
9580
* def db = db.setfeature(karate.info.featureFileName)
2
9581
* def separator = java.lang.System.getProperty("file.separator")
2
9582
* def outputpath = db.outputpath()
1
9583
* eval db.ensureDirectory(outputpath)
1
9584
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9585
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9586
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9587
Given path 'geonetwork/srv/dut/inspire'
1
9588
And param service = 'CSW'
0
9589
And param version = '2.0.2'
0
9590
And param request = 'GetRecordById'
0
9591
And param id = '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
9592
And param elementsetname = 'full'
0
9593
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9594
When method get
304
9595
Then status 200
0
9596
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
9597
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9598
* def title = get response //citation/CI_Citation/title/CharacterString
1
9599
* def email = get response //electronicMailAddress/CharacterString
1
9600
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9601
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9602
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9603
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9604
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9605
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9606
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9607
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9608
* print organisationpath
0
10:31:00.459 [print] Beheer PDOK
9609
* print operateson
0
10:31:00.459 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification" ]
9610
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9611
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9612
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
54
Scenario Outline: [1.268:18]627b50bf-2e33-4beb-a314-ff8c0fe8912e
ms: 296
>>
Background:
9613
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9614
* def mystorage = Java.type('storage.DataStorage')
1
9615
* def db = new mystorage
1
9616
* def db = db.setfeature(karate.info.featureFileName)
2
9617
* def separator = java.lang.System.getProperty("file.separator")
2
9618
* def outputpath = db.outputpath()
1
9619
* eval db.ensureDirectory(outputpath)
1
9620
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9621
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9622
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9623
Given path 'geonetwork/srv/dut/inspire'
1
9624
And param service = 'CSW'
0
9625
And param version = '2.0.2'
0
9626
And param request = 'GetRecordById'
0
9627
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
9628
And param elementsetname = 'full'
0
9629
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9630
When method get
285
9631
Then status 200
0
9632
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
9633
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9634
* def title = get response //citation/CI_Citation/title/CharacterString
0
9635
* def email = get response //electronicMailAddress/CharacterString
0
9636
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9637
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9638
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9639
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9640
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9641
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9642
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9643
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9644
* print organisationpath
0
10:31:00.526 [print] Beheer PDOK
9645
* print operateson
0
10:31:00.526 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9646
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9647
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9648
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.269:18]82541a1f-2e4e-459f-ab2f-e97cac3ad040
ms: 367
>>
Background:
9649
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9650
* def mystorage = Java.type('storage.DataStorage')
1
9651
* def db = new mystorage
1
9652
* def db = db.setfeature(karate.info.featureFileName)
2
9653
* def separator = java.lang.System.getProperty("file.separator")
2
9654
* def outputpath = db.outputpath()
1
9655
* eval db.ensureDirectory(outputpath)
1
9656
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9657
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9658
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9659
Given path 'geonetwork/srv/dut/inspire'
0
9660
And param service = 'CSW'
0
9661
And param version = '2.0.2'
0
9662
And param request = 'GetRecordById'
0
9663
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
1
9664
And param elementsetname = 'full'
0
9665
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9666
When method get
337
9667
Then status 200
0
9668
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
2
9669
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
9670
* def title = get response //citation/CI_Citation/title/CharacterString
2
9671
* def email = get response //electronicMailAddress/CharacterString
2
9672
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
9673
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
9674
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9675
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9676
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9677
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
9678
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9679
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
9680
* print organisationpath
0
10:31:00.620 [print] Beheer PDOK
9681
* print operateson
0
10:31:00.621 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
9682
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
9683
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9684
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.270:18]1bd24d1e-aa13-4395-809e-893570f7c651
ms: 288
>>
Background:
9685
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9686
* def mystorage = Java.type('storage.DataStorage')
1
9687
* def db = new mystorage
1
9688
* def db = db.setfeature(karate.info.featureFileName)
2
9689
* def separator = java.lang.System.getProperty("file.separator")
2
9690
* def outputpath = db.outputpath()
1
9691
* eval db.ensureDirectory(outputpath)
1
9692
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9693
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9694
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9695
Given path 'geonetwork/srv/dut/inspire'
1
9696
And param service = 'CSW'
0
9697
And param version = '2.0.2'
0
9698
And param request = 'GetRecordById'
0
9699
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651'
1
9700
And param elementsetname = 'full'
0
9701
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9702
When method get
274
9703
Then status 200
0
9704
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651'
1
9705
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9706
* def title = get response //citation/CI_Citation/title/CharacterString
0
9707
* def email = get response //electronicMailAddress/CharacterString
0
9708
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9709
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9710
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9711
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9712
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9713
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9714
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9715
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9716
* print organisationpath
0
10:31:00.700 [print] Beheer PDOK
9717
* print operateson
0
10:31:00.700 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification
9718
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9719
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9720
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.271:18]0bc2bcb8-558b-446b-b4e2-381b13d483a8
ms: 295
>>
Background:
9721
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9722
* def mystorage = Java.type('storage.DataStorage')
1
9723
* def db = new mystorage
1
9724
* def db = db.setfeature(karate.info.featureFileName)
2
9725
* def separator = java.lang.System.getProperty("file.separator")
2
9726
* def outputpath = db.outputpath()
1
9727
* eval db.ensureDirectory(outputpath)
1
9728
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9729
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9730
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9731
Given path 'geonetwork/srv/dut/inspire'
0
9732
And param service = 'CSW'
0
9733
And param version = '2.0.2'
0
9734
And param request = 'GetRecordById'
0
9735
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
1
9736
And param elementsetname = 'full'
0
9737
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9738
When method get
284
9739
Then status 200
0
9740
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
1
9741
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9742
* def title = get response //citation/CI_Citation/title/CharacterString
0
9743
* def email = get response //electronicMailAddress/CharacterString
0
9744
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9745
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9746
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9747
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9748
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9749
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9750
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9751
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9752
* print organisationpath
0
10:31:00.807 [print] Beheer PDOK
9753
* print operateson
0
10:31:00.807 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
9754
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9755
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9756
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.272:18]feabca04-e3fd-4802-96f2-583d328e30ad
ms: 325
>>
Background:
9757
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9758
* def mystorage = Java.type('storage.DataStorage')
1
9759
* def db = new mystorage
1
9760
* def db = db.setfeature(karate.info.featureFileName)
2
9761
* def separator = java.lang.System.getProperty("file.separator")
2
9762
* def outputpath = db.outputpath()
1
9763
* eval db.ensureDirectory(outputpath)
1
9764
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9765
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9766
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9767
Given path 'geonetwork/srv/dut/inspire'
0
9768
And param service = 'CSW'
0
9769
And param version = '2.0.2'
0
9770
And param request = 'GetRecordById'
0
9771
And param id = 'feabca04-e3fd-4802-96f2-583d328e30ad'
1
9772
And param elementsetname = 'full'
0
9773
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9774
When method get
315
9775
Then status 200
0
9776
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'feabca04-e3fd-4802-96f2-583d328e30ad'
1
9777
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9778
* def title = get response //citation/CI_Citation/title/CharacterString
0
9779
* def email = get response //electronicMailAddress/CharacterString
0
9780
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
9781
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9782
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9783
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9784
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9785
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9786
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9787
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9788
* print organisationpath
0
10:31:00.851 [print] Beheer PDOK
9789
* print operateson
0
10:31:00.851 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
9790
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9791
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9792
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.273:18]c78a99eb-9ba3-4307-a21b-2a64ad5da039
ms: 282
>>
Background:
9793
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9794
* def mystorage = Java.type('storage.DataStorage')
1
9795
* def db = new mystorage
1
9796
* def db = db.setfeature(karate.info.featureFileName)
2
9797
* def separator = java.lang.System.getProperty("file.separator")
2
9798
* def outputpath = db.outputpath()
1
9799
* eval db.ensureDirectory(outputpath)
1
9800
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9801
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9802
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9803
Given path 'geonetwork/srv/dut/inspire'
0
9804
And param service = 'CSW'
0
9805
And param version = '2.0.2'
0
9806
And param request = 'GetRecordById'
0
9807
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
0
9808
And param elementsetname = 'full'
0
9809
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9810
When method get
271
9811
Then status 200
0
9812
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
1
9813
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9814
* def title = get response //citation/CI_Citation/title/CharacterString
1
9815
* def email = get response //electronicMailAddress/CharacterString
0
9816
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9817
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9818
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9819
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9820
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9821
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9822
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9823
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9824
* print organisationpath
0
10:31:00.904 [print] Beheer PDOK
9825
* print operateson
0
10:31:00.904 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
9826
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9827
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
9828
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.274:18]127125c8-20c2-451a-a1c8-f9aad8ae5c5e
ms: 288
>>
Background:
9829
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9830
* def mystorage = Java.type('storage.DataStorage')
1
9831
* def db = new mystorage
1
9832
* def db = db.setfeature(karate.info.featureFileName)
2
9833
* def separator = java.lang.System.getProperty("file.separator")
2
9834
* def outputpath = db.outputpath()
1
9835
* eval db.ensureDirectory(outputpath)
1
9836
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9837
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9838
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9839
Given path 'geonetwork/srv/dut/inspire'
1
9840
And param service = 'CSW'
0
9841
And param version = '2.0.2'
0
9842
And param request = 'GetRecordById'
0
9843
And param id = '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
1
9844
And param elementsetname = 'full'
0
9845
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9846
When method get
277
9847
Then status 200
0
9848
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
1
9849
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9850
* def title = get response //citation/CI_Citation/title/CharacterString
1
9851
* def email = get response //electronicMailAddress/CharacterString
0
9852
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9853
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9854
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9855
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9856
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9857
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9858
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9859
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9860
* print organisationpath
0
10:31:00.994 [print] Beheer PDOK
9861
* print operateson
0
10:31:00.994 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
9862
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9863
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9864
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.275:18]6ff5af41-4cb0-406a-a77c-a4cf4223cbc7
ms: 308
>>
Background:
9865
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9866
* def mystorage = Java.type('storage.DataStorage')
1
9867
* def db = new mystorage
1
9868
* def db = db.setfeature(karate.info.featureFileName)
2
9869
* def separator = java.lang.System.getProperty("file.separator")
2
9870
* def outputpath = db.outputpath()
1
9871
* eval db.ensureDirectory(outputpath)
1
9872
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9873
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9874
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9875
Given path 'geonetwork/srv/dut/inspire'
6
9876
And param service = 'CSW'
0
9877
And param version = '2.0.2'
0
9878
And param request = 'GetRecordById'
0
9879
And param id = '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
9880
And param elementsetname = 'full'
0
9881
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9882
When method get
291
9883
Then status 200
0
9884
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
9885
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9886
* def title = get response //citation/CI_Citation/title/CharacterString
1
9887
* def email = get response //electronicMailAddress/CharacterString
1
9888
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9889
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9890
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9891
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9892
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9893
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9894
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9895
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9896
* print organisationpath
0
10:31:01.115 [print] Beheer PDOK
9897
* print operateson
0
10:31:01.115 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
9898
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9899
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9900
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.276:18]54d2021b-e778-4834-a3c6-75c89d36b942
ms: 300
>>
Background:
9901
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9902
* def mystorage = Java.type('storage.DataStorage')
1
9903
* def db = new mystorage
1
9904
* def db = db.setfeature(karate.info.featureFileName)
2
9905
* def separator = java.lang.System.getProperty("file.separator")
2
9906
* def outputpath = db.outputpath()
1
9907
* eval db.ensureDirectory(outputpath)
1
9908
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9909
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9910
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9911
Given path 'geonetwork/srv/dut/inspire'
0
9912
And param service = 'CSW'
0
9913
And param version = '2.0.2'
0
9914
And param request = 'GetRecordById'
0
9915
And param id = '54d2021b-e778-4834-a3c6-75c89d36b942'
1
9916
And param elementsetname = 'full'
0
9917
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9918
When method get
289
9919
Then status 200
0
9920
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54d2021b-e778-4834-a3c6-75c89d36b942'
1
9921
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9922
* def title = get response //citation/CI_Citation/title/CharacterString
0
9923
* def email = get response //electronicMailAddress/CharacterString
0
9924
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9925
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9926
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9927
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9928
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9929
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9930
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9931
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9932
* print organisationpath
0
10:31:01.151 [print] Beheer PDOK
9933
* print operateson
0
10:31:01.151 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2ae3e9b7-aa79-41d4-a35b-c9a0fee69e5c#MD_DataIdentification
9934
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9935
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9936
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.277:18]4b6752ae-65d6-44b5-98ef-1fc30f4fd92d
ms: 287
>>
Background:
9937
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9938
* def mystorage = Java.type('storage.DataStorage')
1
9939
* def db = new mystorage
1
9940
* def db = db.setfeature(karate.info.featureFileName)
2
9941
* def separator = java.lang.System.getProperty("file.separator")
2
9942
* def outputpath = db.outputpath()
1
9943
* eval db.ensureDirectory(outputpath)
1
9944
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9945
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9946
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9947
Given path 'geonetwork/srv/dut/inspire'
0
9948
And param service = 'CSW'
0
9949
And param version = '2.0.2'
0
9950
And param request = 'GetRecordById'
0
9951
And param id = '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
1
9952
And param elementsetname = 'full'
0
9953
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9954
When method get
274
9955
Then status 200
0
9956
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
1
9957
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9958
* def title = get response //citation/CI_Citation/title/CharacterString
1
9959
* def email = get response //electronicMailAddress/CharacterString
1
9960
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9961
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9962
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9963
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9964
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9965
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9966
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9967
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9968
* print organisationpath
0
10:31:01.193 [print] Beheer PDOK
9969
* print operateson
0
10:31:01.193 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification" ]
9970
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9971
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9972
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.278:18]68722979-8d6c-4ee4-a81a-8381d2588fe5
ms: 297
>>
Background:
9973
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
9974
* def mystorage = Java.type('storage.DataStorage')
1
9975
* def db = new mystorage
1
9976
* def db = db.setfeature(karate.info.featureFileName)
2
9977
* def separator = java.lang.System.getProperty("file.separator")
2
9978
* def outputpath = db.outputpath()
1
9979
* eval db.ensureDirectory(outputpath)
1
9980
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9981
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9982
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9983
Given path 'geonetwork/srv/dut/inspire'
0
9984
And param service = 'CSW'
0
9985
And param version = '2.0.2'
0
9986
And param request = 'GetRecordById'
0
9987
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5'
0
9988
And param elementsetname = 'full'
0
9989
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9990
When method get
286
9991
Then status 200
0
9992
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
9993
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9994
* def title = get response //citation/CI_Citation/title/CharacterString
0
9995
* def email = get response //electronicMailAddress/CharacterString
0
9996
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9997
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9998
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9999
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10000
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10001
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10002
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10003
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10004
* print organisationpath
0
10:31:01.291 [print] Beheer PDOK
10005
* print operateson
0
10:31:01.291 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
10006
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10007
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10008
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.279:18]6b608d4e-5628-4d59-97fc-0322c57357b2
ms: 298
>>
Background:
10009
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10010
* def mystorage = Java.type('storage.DataStorage')
1
10011
* def db = new mystorage
1
10012
* def db = db.setfeature(karate.info.featureFileName)
2
10013
* def separator = java.lang.System.getProperty("file.separator")
2
10014
* def outputpath = db.outputpath()
1
10015
* eval db.ensureDirectory(outputpath)
1
10016
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10017
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10018
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10019
Given path 'geonetwork/srv/dut/inspire'
0
10020
And param service = 'CSW'
0
10021
And param version = '2.0.2'
0
10022
And param request = 'GetRecordById'
0
10023
And param id = '6b608d4e-5628-4d59-97fc-0322c57357b2'
0
10024
And param elementsetname = 'full'
0
10025
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10026
When method get
286
10027
Then status 200
0
10028
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b608d4e-5628-4d59-97fc-0322c57357b2'
1
10029
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10030
* def title = get response //citation/CI_Citation/title/CharacterString
1
10031
* def email = get response //electronicMailAddress/CharacterString
0
10032
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10033
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10034
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10035
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10036
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10037
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10038
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10039
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10040
* print organisationpath
0
10:31:01.414 [print] Beheer PDOK
10041
* print operateson
0
10:31:01.414 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
10042
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10043
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10044
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.280:18]40c4ec8c-14b2-4104-982b-c0ebfd5397c4
ms: 302
>>
Background:
10045
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10046
* def mystorage = Java.type('storage.DataStorage')
1
10047
* def db = new mystorage
1
10048
* def db = db.setfeature(karate.info.featureFileName)
2
10049
* def separator = java.lang.System.getProperty("file.separator")
2
10050
* def outputpath = db.outputpath()
1
10051
* eval db.ensureDirectory(outputpath)
1
10052
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10053
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10054
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10055
Given path 'geonetwork/srv/dut/inspire'
4
10056
And param service = 'CSW'
0
10057
And param version = '2.0.2'
0
10058
And param request = 'GetRecordById'
0
10059
And param id = '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
10060
And param elementsetname = 'full'
0
10061
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10062
When method get
288
10063
Then status 200
0
10064
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
10065
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10066
* def title = get response //citation/CI_Citation/title/CharacterString
0
10067
* def email = get response //electronicMailAddress/CharacterString
0
10068
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10069
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10070
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10071
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10072
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10073
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10074
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10075
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10076
* print organisationpath
0
10:31:01.454 [print] Beheer PDOK
10077
* print operateson
0
10:31:01.454 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
10078
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10079
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10080
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.281:18]3d01c1ca-973c-4652-baa5-39458bb9e181
ms: 322
>>
Background:
10081
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10082
* def mystorage = Java.type('storage.DataStorage')
1
10083
* def db = new mystorage
1
10084
* def db = db.setfeature(karate.info.featureFileName)
2
10085
* def separator = java.lang.System.getProperty("file.separator")
2
10086
* def outputpath = db.outputpath()
1
10087
* eval db.ensureDirectory(outputpath)
1
10088
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10089
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10090
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10091
Given path 'geonetwork/srv/dut/inspire'
0
10092
And param service = 'CSW'
0
10093
And param version = '2.0.2'
0
10094
And param request = 'GetRecordById'
0
10095
And param id = '3d01c1ca-973c-4652-baa5-39458bb9e181'
0
10096
And param elementsetname = 'full'
0
10097
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10098
When method get
311
10099
Then status 200
0
10100
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d01c1ca-973c-4652-baa5-39458bb9e181'
1
10101
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10102
* def title = get response //citation/CI_Citation/title/CharacterString
0
10103
* def email = get response //electronicMailAddress/CharacterString
0
10104
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10105
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10106
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10107
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10108
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10109
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10110
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10111
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10112
* print organisationpath
0
10:31:01.516 [print] Beheer PDOK
10113
* print operateson
0
10:31:01.516 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
10114
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10115
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10116
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.282:18]c374d556-7b6e-459b-83c7-74da6ad90a59
ms: 286
>>
Background:
10117
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10118
* def mystorage = Java.type('storage.DataStorage')
1
10119
* def db = new mystorage
1
10120
* def db = db.setfeature(karate.info.featureFileName)
2
10121
* def separator = java.lang.System.getProperty("file.separator")
2
10122
* def outputpath = db.outputpath()
1
10123
* eval db.ensureDirectory(outputpath)
1
10124
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10125
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10126
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10127
Given path 'geonetwork/srv/dut/inspire'
0
10128
And param service = 'CSW'
0
10129
And param version = '2.0.2'
0
10130
And param request = 'GetRecordById'
0
10131
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59'
1
10132
And param elementsetname = 'full'
0
10133
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10134
When method get
274
10135
Then status 200
0
10136
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59'
1
10137
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10138
* def title = get response //citation/CI_Citation/title/CharacterString
1
10139
* def email = get response //electronicMailAddress/CharacterString
0
10140
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10141
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10142
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10143
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10144
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10145
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10146
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10147
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10148
* print organisationpath
0
10:31:01.577 [print] Beheer PDOK
10149
* print operateson
0
10:31:01.577 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
10150
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10151
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10152
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.283:18]a301ddc7-c26f-42d8-b367-509ae5ae47d0
ms: 293
>>
Background:
10153
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10154
* def mystorage = Java.type('storage.DataStorage')
1
10155
* def db = new mystorage
1
10156
* def db = db.setfeature(karate.info.featureFileName)
2
10157
* def separator = java.lang.System.getProperty("file.separator")
2
10158
* def outputpath = db.outputpath()
1
10159
* eval db.ensureDirectory(outputpath)
1
10160
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10161
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10162
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10163
Given path 'geonetwork/srv/dut/inspire'
1
10164
And param service = 'CSW'
0
10165
And param version = '2.0.2'
0
10166
And param request = 'GetRecordById'
0
10167
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
1
10168
And param elementsetname = 'full'
0
10169
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10170
When method get
283
10171
Then status 200
0
10172
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
1
10173
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10174
* def title = get response //citation/CI_Citation/title/CharacterString
0
10175
* def email = get response //electronicMailAddress/CharacterString
0
10176
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10177
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10178
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10179
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10180
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10181
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10182
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10183
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10184
* print organisationpath
0
10:31:01.708 [print] Beheer PDOK
10185
* print operateson
0
10:31:01.708 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification" ]
10186
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10187
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10188
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.284:18]68d14b1c-71ad-4ce7-8267-45787a80c2d4
ms: 304
>>
Background:
10189
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10190
* def mystorage = Java.type('storage.DataStorage')
1
10191
* def db = new mystorage
1
10192
* def db = db.setfeature(karate.info.featureFileName)
2
10193
* def separator = java.lang.System.getProperty("file.separator")
2
10194
* def outputpath = db.outputpath()
1
10195
* eval db.ensureDirectory(outputpath)
1
10196
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10197
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10198
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10199
Given path 'geonetwork/srv/dut/inspire'
0
10200
And param service = 'CSW'
0
10201
And param version = '2.0.2'
0
10202
And param request = 'GetRecordById'
0
10203
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
3
10204
And param elementsetname = 'full'
0
10205
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10206
When method get
290
10207
Then status 200
0
10208
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
1
10209
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10210
* def title = get response //citation/CI_Citation/title/CharacterString
1
10211
* def email = get response //electronicMailAddress/CharacterString
0
10212
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10213
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10214
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10215
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10216
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10217
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10218
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10219
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10220
* print organisationpath
0
10:31:01.759 [print] Beheer PDOK
10221
* print operateson
0
10:31:01.759 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
10222
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10223
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10224
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.285:18]97a7d966-7261-49d4-bc08-c4900981f092
ms: 307
>>
Background:
10225
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10226
* def mystorage = Java.type('storage.DataStorage')
1
10227
* def db = new mystorage
1
10228
* def db = db.setfeature(karate.info.featureFileName)
2
10229
* def separator = java.lang.System.getProperty("file.separator")
2
10230
* def outputpath = db.outputpath()
1
10231
* eval db.ensureDirectory(outputpath)
1
10232
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10233
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10234
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10235
Given path 'geonetwork/srv/dut/inspire'
0
10236
And param service = 'CSW'
0
10237
And param version = '2.0.2'
0
10238
And param request = 'GetRecordById'
0
10239
And param id = '97a7d966-7261-49d4-bc08-c4900981f092'
0
10240
And param elementsetname = 'full'
0
10241
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10242
When method get
296
10243
Then status 200
0
10244
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97a7d966-7261-49d4-bc08-c4900981f092'
1
10245
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10246
* def title = get response //citation/CI_Citation/title/CharacterString
0
10247
* def email = get response //electronicMailAddress/CharacterString
1
10248
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10249
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10250
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10251
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10252
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10253
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10254
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10255
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10256
* print organisationpath
0
10:31:01.823 [print] Beheer PDOK
10257
* print operateson
0
10:31:01.823 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
10258
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10259
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10260
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.286:18]d69fee4a-e3ff-47d4-919d-e55276a3fad9
ms: 301
>>
Background:
10261
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10262
* def mystorage = Java.type('storage.DataStorage')
1
10263
* def db = new mystorage
1
10264
* def db = db.setfeature(karate.info.featureFileName)
2
10265
* def separator = java.lang.System.getProperty("file.separator")
2
10266
* def outputpath = db.outputpath()
1
10267
* eval db.ensureDirectory(outputpath)
1
10268
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10269
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10270
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10271
Given path 'geonetwork/srv/dut/inspire'
0
10272
And param service = 'CSW'
0
10273
And param version = '2.0.2'
0
10274
And param request = 'GetRecordById'
0
10275
And param id = 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
10276
And param elementsetname = 'full'
0
10277
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10278
When method get
290
10279
Then status 200
0
10280
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
10281
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10282
* def title = get response //citation/CI_Citation/title/CharacterString
1
10283
* def email = get response //electronicMailAddress/CharacterString
1
10284
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10285
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10286
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10287
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10288
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10289
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10290
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10291
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10292
* print organisationpath
0
10:31:01.879 [print] Beheer PDOK
10293
* print operateson
0
10:31:01.880 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
10294
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10295
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10296
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.287:18]5b40b9b4-fcb2-4553-bcab-34824c43c992
ms: 286
>>
Background:
10297
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10298
* def mystorage = Java.type('storage.DataStorage')
1
10299
* def db = new mystorage
1
10300
* def db = db.setfeature(karate.info.featureFileName)
2
10301
* def separator = java.lang.System.getProperty("file.separator")
2
10302
* def outputpath = db.outputpath()
1
10303
* eval db.ensureDirectory(outputpath)
1
10304
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10305
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10306
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10307
Given path 'geonetwork/srv/dut/inspire'
0
10308
And param service = 'CSW'
0
10309
And param version = '2.0.2'
0
10310
And param request = 'GetRecordById'
0
10311
And param id = '5b40b9b4-fcb2-4553-bcab-34824c43c992'
0
10312
And param elementsetname = 'full'
0
10313
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10314
When method get
276
10315
Then status 200
0
10316
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
10317
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10318
* def title = get response //citation/CI_Citation/title/CharacterString
0
10319
* def email = get response //electronicMailAddress/CharacterString
0
10320
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10321
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10322
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10323
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10324
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10325
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10326
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10327
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10328
* print organisationpath
0
10:31:01.995 [print] Beheer PDOK
10329
* print operateson
0
10:31:01.995 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
10330
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10331
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10332
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.288:18]40f04047-3b61-40eb-b026-c1a0caa71881
ms: 308
>>
Background:
10333
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10334
* def mystorage = Java.type('storage.DataStorage')
1
10335
* def db = new mystorage
1
10336
* def db = db.setfeature(karate.info.featureFileName)
2
10337
* def separator = java.lang.System.getProperty("file.separator")
2
10338
* def outputpath = db.outputpath()
1
10339
* eval db.ensureDirectory(outputpath)
1
10340
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10341
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10342
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10343
Given path 'geonetwork/srv/dut/inspire'
1
10344
And param service = 'CSW'
0
10345
And param version = '2.0.2'
0
10346
And param request = 'GetRecordById'
0
10347
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881'
1
10348
And param elementsetname = 'full'
0
10349
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10350
When method get
286
10351
Then status 200
0
10352
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881'
1
10353
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10354
* def title = get response //citation/CI_Citation/title/CharacterString
1
10355
* def email = get response //electronicMailAddress/CharacterString
1
10356
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10357
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10358
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10359
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10360
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10361
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10362
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10363
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10364
* print organisationpath
0
10:31:02.058 [print] Beheer PDOK
10365
* print operateson
0
10:31:02.058 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification" ]
10366
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10367
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10368
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.289:18]ceda1b88-32ac-40b2-a841-71eb041c9427
ms: 300
>>
Background:
10369
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10370
* def mystorage = Java.type('storage.DataStorage')
1
10371
* def db = new mystorage
1
10372
* def db = db.setfeature(karate.info.featureFileName)
2
10373
* def separator = java.lang.System.getProperty("file.separator")
2
10374
* def outputpath = db.outputpath()
1
10375
* eval db.ensureDirectory(outputpath)
1
10376
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10377
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10378
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10379
Given path 'geonetwork/srv/dut/inspire'
1
10380
And param service = 'CSW'
0
10381
And param version = '2.0.2'
0
10382
And param request = 'GetRecordById'
0
10383
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427'
0
10384
And param elementsetname = 'full'
0
10385
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10386
When method get
287
10387
Then status 200
0
10388
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427'
1
10389
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10390
* def title = get response //citation/CI_Citation/title/CharacterString
1
10391
* def email = get response //electronicMailAddress/CharacterString
1
10392
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10393
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10394
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10395
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10396
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10397
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10398
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10399
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10400
* print organisationpath
0
10:31:02.123 [print] Beheer PDOK
10401
* print operateson
0
10:31:02.124 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification" ]
10402
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10403
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10404
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.290:18]972edbaa-f860-4c48-b449-4f238a263472
ms: 296
>>
Background:
10405
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10406
* def mystorage = Java.type('storage.DataStorage')
1
10407
* def db = new mystorage
1
10408
* def db = db.setfeature(karate.info.featureFileName)
2
10409
* def separator = java.lang.System.getProperty("file.separator")
2
10410
* def outputpath = db.outputpath()
1
10411
* eval db.ensureDirectory(outputpath)
1
10412
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10413
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10414
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10415
Given path 'geonetwork/srv/dut/inspire'
0
10416
And param service = 'CSW'
0
10417
And param version = '2.0.2'
0
10418
And param request = 'GetRecordById'
0
10419
And param id = '972edbaa-f860-4c48-b449-4f238a263472'
0
10420
And param elementsetname = 'full'
0
10421
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10422
When method get
286
10423
Then status 200
0
10424
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472'
1
10425
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10426
* def title = get response //citation/CI_Citation/title/CharacterString
1
10427
* def email = get response //electronicMailAddress/CharacterString
0
10428
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10429
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10430
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10431
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10432
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10433
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10434
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10435
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10436
* print organisationpath
0
10:31:02.175 [print] Beheer PDOK
10437
* print operateson
0
10:31:02.175 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
10438
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10439
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10440
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.291:18]3dc373ae-fcf6-49c9-b315-9a2178bffe4a
ms: 299
>>
Background:
10441
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10442
* def mystorage = Java.type('storage.DataStorage')
1
10443
* def db = new mystorage
1
10444
* def db = db.setfeature(karate.info.featureFileName)
2
10445
* def separator = java.lang.System.getProperty("file.separator")
2
10446
* def outputpath = db.outputpath()
1
10447
* eval db.ensureDirectory(outputpath)
1
10448
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10449
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10450
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10451
Given path 'geonetwork/srv/dut/inspire'
1
10452
And param service = 'CSW'
0
10453
And param version = '2.0.2'
0
10454
And param request = 'GetRecordById'
0
10455
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
10456
And param elementsetname = 'full'
0
10457
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10458
When method get
287
10459
Then status 200
0
10460
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
10461
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10462
* def title = get response //citation/CI_Citation/title/CharacterString
0
10463
* def email = get response //electronicMailAddress/CharacterString
1
10464
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10465
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10466
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10467
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10468
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10469
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10470
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10471
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10472
* print organisationpath
0
10:31:02.294 [print] Beheer PDOK
10473
* print operateson
0
10:31:02.294 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
10474
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10475
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10476
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.292:18]32655f4b-551b-42c8-b071-95738d0f5daa
ms: 308
>>
Background:
10477
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10478
* def mystorage = Java.type('storage.DataStorage')
1
10479
* def db = new mystorage
1
10480
* def db = db.setfeature(karate.info.featureFileName)
2
10481
* def separator = java.lang.System.getProperty("file.separator")
2
10482
* def outputpath = db.outputpath()
1
10483
* eval db.ensureDirectory(outputpath)
1
10484
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10485
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10486
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10487
Given path 'geonetwork/srv/dut/inspire'
1
10488
And param service = 'CSW'
0
10489
And param version = '2.0.2'
0
10490
And param request = 'GetRecordById'
0
10491
And param id = '32655f4b-551b-42c8-b071-95738d0f5daa'
0
10492
And param elementsetname = 'full'
0
10493
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10494
When method get
297
10495
Then status 200
0
10496
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32655f4b-551b-42c8-b071-95738d0f5daa'
0
10497
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10498
* def title = get response //citation/CI_Citation/title/CharacterString
1
10499
* def email = get response //electronicMailAddress/CharacterString
0
10500
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10501
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10502
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10503
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10504
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10505
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10506
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10507
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10508
* print organisationpath
0
10:31:02.376 [print] Beheer PDOK
10509
* print operateson
0
10:31:02.376 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254
10510
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10511
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10512
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.293:18]a84f9836-9111-4e45-a311-3dab39019e15
ms: 299
>>
Background:
10513
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10514
* def mystorage = Java.type('storage.DataStorage')
1
10515
* def db = new mystorage
1
10516
* def db = db.setfeature(karate.info.featureFileName)
2
10517
* def separator = java.lang.System.getProperty("file.separator")
2
10518
* def outputpath = db.outputpath()
1
10519
* eval db.ensureDirectory(outputpath)
1
10520
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10521
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10522
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10523
Given path 'geonetwork/srv/dut/inspire'
0
10524
And param service = 'CSW'
0
10525
And param version = '2.0.2'
0
10526
And param request = 'GetRecordById'
0
10527
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15'
1
10528
And param elementsetname = 'full'
0
10529
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10530
When method get
286
10531
Then status 200
0
10532
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15'
1
10533
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10534
* def title = get response //citation/CI_Citation/title/CharacterString
1
10535
* def email = get response //electronicMailAddress/CharacterString
1
10536
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10537
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10538
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10539
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10540
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10541
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10542
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10543
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10544
* print organisationpath
0
10:31:02.422 [print] Beheer PDOK
10545
* print operateson
0
10:31:02.422 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
10546
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10547
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10548
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.294:18]76854ff3-a853-4405-b9fd-acef66460376
ms: 545
>>
Background:
10549
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10550
* def mystorage = Java.type('storage.DataStorage')
1
10551
* def db = new mystorage
1
10552
* def db = db.setfeature(karate.info.featureFileName)
2
10553
* def separator = java.lang.System.getProperty("file.separator")
2
10554
* def outputpath = db.outputpath()
1
10555
* eval db.ensureDirectory(outputpath)
1
10556
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10557
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10558
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10559
Given path 'geonetwork/srv/dut/inspire'
0
10560
And param service = 'CSW'
0
10561
And param version = '2.0.2'
0
10562
And param request = 'GetRecordById'
0
10563
And param id = '76854ff3-a853-4405-b9fd-acef66460376'
1
10564
And param elementsetname = 'full'
0
10565
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10566
When method get
408
10567
Then status 200
0
10568
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376'
10
10569
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
11
10570
* def title = get response //citation/CI_Citation/title/CharacterString
11
10571
* def email = get response //electronicMailAddress/CharacterString
11
10572
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
12
10573
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
11
10574
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10575
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
8
10576
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
8
10577
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
8
10578
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
9
10579
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
17
10580
* print organisationpath
0
10:31:02.705 [print] Beheer PDOK
10581
* print operateson
0
10:31:02.705 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
10582
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
16
10583
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10584
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.295:18]018a28a5-1019-4747-b031-f66ffc1c6ae7
ms: 281
>>
Background:
10585
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10586
* def mystorage = Java.type('storage.DataStorage')
1
10587
* def db = new mystorage
1
10588
* def db = db.setfeature(karate.info.featureFileName)
2
10589
* def separator = java.lang.System.getProperty("file.separator")
2
10590
* def outputpath = db.outputpath()
1
10591
* eval db.ensureDirectory(outputpath)
1
10592
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10593
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10594
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10595
Given path 'geonetwork/srv/dut/inspire'
0
10596
And param service = 'CSW'
0
10597
And param version = '2.0.2'
0
10598
And param request = 'GetRecordById'
0
10599
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7'
0
10600
And param elementsetname = 'full'
0
10601
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10602
When method get
268
10603
Then status 200
0
10604
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7'
1
10605
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10606
* def title = get response //citation/CI_Citation/title/CharacterString
1
10607
* def email = get response //electronicMailAddress/CharacterString
1
10608
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10609
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10610
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10611
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10612
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10613
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10614
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10615
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10616
* print organisationpath
0
10:31:02.575 [print] Beheer PDOK
10617
* print operateson
0
10:31:02.575 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
10618
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10619
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10620
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.296:18]ec73f245-66ce-4144-ac27-5966c80a4b3a
ms: 350
>>
Background:
10621
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10622
* def mystorage = Java.type('storage.DataStorage')
1
10623
* def db = new mystorage
1
10624
* def db = db.setfeature(karate.info.featureFileName)
2
10625
* def separator = java.lang.System.getProperty("file.separator")
2
10626
* def outputpath = db.outputpath()
1
10627
* eval db.ensureDirectory(outputpath)
1
10628
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10629
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10630
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10631
Given path 'geonetwork/srv/dut/inspire'
0
10632
And param service = 'CSW'
0
10633
And param version = '2.0.2'
0
10634
And param request = 'GetRecordById'
0
10635
And param id = 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
0
10636
And param elementsetname = 'full'
0
10637
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10638
When method get
307
10639
Then status 200
0
10640
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
2
10641
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
10642
* def title = get response //citation/CI_Citation/title/CharacterString
2
10643
* def email = get response //electronicMailAddress/CharacterString
10
10644
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
10645
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
10646
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10647
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
10
10648
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
10649
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10650
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10651
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10652
* print organisationpath
0
10:31:02.726 [print] Beheer PDOK
10653
* print operateson
0
10:31:02.726 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
10654
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10655
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10656
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.297:18]4fb15e0d-d88f-40f1-b407-3d3edcf7e184
ms: 316
>>
Background:
10657
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10658
* def mystorage = Java.type('storage.DataStorage')
1
10659
* def db = new mystorage
1
10660
* def db = db.setfeature(karate.info.featureFileName)
2
10661
* def separator = java.lang.System.getProperty("file.separator")
2
10662
* def outputpath = db.outputpath()
1
10663
* eval db.ensureDirectory(outputpath)
1
10664
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10665
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10666
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10667
Given path 'geonetwork/srv/dut/inspire'
1
10668
And param service = 'CSW'
0
10669
And param version = '2.0.2'
0
10670
And param request = 'GetRecordById'
0
10671
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
1
10672
And param elementsetname = 'full'
0
10673
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10674
When method get
303
10675
Then status 200
0
10676
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
1
10677
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10678
* def title = get response //citation/CI_Citation/title/CharacterString
1
10679
* def email = get response //electronicMailAddress/CharacterString
1
10680
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10681
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10682
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10683
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10684
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10685
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10686
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10687
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10688
* print organisationpath
0
10:31:02.740 [print] Beheer PDOK
10689
* print operateson
0
10:31:02.740 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
10690
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10691
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10692
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.298:18]8e7686c3-f75e-411f-866e-6985267b916b
ms: 426
>>
Background:
10693
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10694
* def mystorage = Java.type('storage.DataStorage')
1
10695
* def db = new mystorage
1
10696
* def db = db.setfeature(karate.info.featureFileName)
2
10697
* def separator = java.lang.System.getProperty("file.separator")
2
10698
* def outputpath = db.outputpath()
1
10699
* eval db.ensureDirectory(outputpath)
1
10700
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10701
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10702
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10703
Given path 'geonetwork/srv/dut/inspire'
1
10704
And param service = 'CSW'
0
10705
And param version = '2.0.2'
0
10706
And param request = 'GetRecordById'
0
10707
And param id = '8e7686c3-f75e-411f-866e-6985267b916b'
0
10708
And param elementsetname = 'full'
0
10709
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10710
When method get
353
10711
Then status 200
0
10712
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b'
9
10713
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
9
10714
* def title = get response //citation/CI_Citation/title/CharacterString
9
10715
* def email = get response //electronicMailAddress/CharacterString
6
10716
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
6
10717
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
6
10718
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10719
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
3
10720
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
10721
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
10722
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
10723
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
6
10724
* print organisationpath
0
10:31:02.997 [print] Beheer PDOK
10725
* print operateson
0
10:31:02.997 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
10726
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
6
10727
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10728
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.299:18]cea38797-ea4b-4969-b979-8d25eb543a6c
ms: 289
>>
Background:
10729
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10730
* def mystorage = Java.type('storage.DataStorage')
1
10731
* def db = new mystorage
1
10732
* def db = db.setfeature(karate.info.featureFileName)
2
10733
* def separator = java.lang.System.getProperty("file.separator")
2
10734
* def outputpath = db.outputpath()
1
10735
* eval db.ensureDirectory(outputpath)
1
10736
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10737
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10738
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10739
Given path 'geonetwork/srv/dut/inspire'
0
10740
And param service = 'CSW'
0
10741
And param version = '2.0.2'
0
10742
And param request = 'GetRecordById'
0
10743
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c'
0
10744
And param elementsetname = 'full'
0
10745
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10746
When method get
275
10747
Then status 200
0
10748
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c'
1
10749
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10750
* def title = get response //citation/CI_Citation/title/CharacterString
1
10751
* def email = get response //electronicMailAddress/CharacterString
1
10752
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
10753
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10754
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10755
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10756
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10757
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10758
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10759
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10760
* print organisationpath
0
10:31:03.011 [print] Beheer PDOK
10761
* print operateson
0
10:31:03.011 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
10762
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10763
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10764
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.300:18]e75b66ae-21b1-4303-aeb3-787608707b23
ms: 349
>>
Background:
10765
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10766
* def mystorage = Java.type('storage.DataStorage')
1
10767
* def db = new mystorage
1
10768
* def db = db.setfeature(karate.info.featureFileName)
2
10769
* def separator = java.lang.System.getProperty("file.separator")
2
10770
* def outputpath = db.outputpath()
1
10771
* eval db.ensureDirectory(outputpath)
1
10772
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10773
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10774
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10775
Given path 'geonetwork/srv/dut/inspire'
0
10776
And param service = 'CSW'
0
10777
And param version = '2.0.2'
0
10778
And param request = 'GetRecordById'
0
10779
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23'
0
10780
And param elementsetname = 'full'
0
10781
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10782
When method get
333
10783
Then status 200
0
10784
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23'
1
10785
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10786
* def title = get response //citation/CI_Citation/title/CharacterString
0
10787
* def email = get response //electronicMailAddress/CharacterString
0
10788
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10789
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10790
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10791
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10792
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10793
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10794
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10795
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10796
* print organisationpath
1
10:31:03.071 [print] Beheer PDOK
10797
* print operateson
0
10:31:03.071 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
10798
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10799
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
10800
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.301:18]37e05521-c323-4dbe-aba4-de1178ba44a5
ms: 560
>>
Background:
10801
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10802
* def mystorage = Java.type('storage.DataStorage')
1
10803
* def db = new mystorage
1
10804
* def db = db.setfeature(karate.info.featureFileName)
2
10805
* def separator = java.lang.System.getProperty("file.separator")
2
10806
* def outputpath = db.outputpath()
1
10807
* eval db.ensureDirectory(outputpath)
1
10808
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10809
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10810
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10811
Given path 'geonetwork/srv/dut/inspire'
0
10812
And param service = 'CSW'
0
10813
And param version = '2.0.2'
0
10814
And param request = 'GetRecordById'
0
10815
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5'
1
10816
And param elementsetname = 'full'
0
10817
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10818
When method get
476
10819
Then status 200
0
10820
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5'
6
10821
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
11
10822
* def title = get response //citation/CI_Citation/title/CharacterString
7
10823
* def email = get response //electronicMailAddress/CharacterString
7
10824
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
10
10825
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
7
10826
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10827
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
10828
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
10829
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
10830
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
5
10831
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
7
10832
* print organisationpath
0
10:31:03.294 [print] Beheer PDOK
10833
* print operateson
0
10:31:03.294 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
10834
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
7
10835
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10836
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.302:18]e69bb2e9-eff4-4fb3-86a6-057cf628e761
ms: 443
>>
Background:
10837
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10838
* def mystorage = Java.type('storage.DataStorage')
1
10839
* def db = new mystorage
1
10840
* def db = db.setfeature(karate.info.featureFileName)
2
10841
* def separator = java.lang.System.getProperty("file.separator")
2
10842
* def outputpath = db.outputpath()
1
10843
* eval db.ensureDirectory(outputpath)
1
10844
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10845
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10846
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10847
Given path 'geonetwork/srv/dut/inspire'
1
10848
And param service = 'CSW'
0
10849
And param version = '2.0.2'
0
10850
And param request = 'GetRecordById'
0
10851
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
1
10852
And param elementsetname = 'full'
0
10853
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10854
When method get
376
10855
Then status 200
0
10856
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
4
10857
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
7
10858
* def title = get response //citation/CI_Citation/title/CharacterString
6
10859
* def email = get response //electronicMailAddress/CharacterString
6
10860
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
6
10861
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
10862
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10863
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
10864
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
10865
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
10866
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
10867
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
6
10868
* print organisationpath
0
10:31:03.441 [print] Beheer PDOK
10869
* print operateson
0
10:31:03.441 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
10870
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
6
10871
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10872
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.303:18]6c62e0a5-c215-4e47-94b0-a239e264417d
ms: 338
>>
Background:
10873
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10874
* def mystorage = Java.type('storage.DataStorage')
1
10875
* def db = new mystorage
1
10876
* def db = db.setfeature(karate.info.featureFileName)
2
10877
* def separator = java.lang.System.getProperty("file.separator")
2
10878
* def outputpath = db.outputpath()
1
10879
* eval db.ensureDirectory(outputpath)
1
10880
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10881
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10882
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10883
Given path 'geonetwork/srv/dut/inspire'
1
10884
And param service = 'CSW'
0
10885
And param version = '2.0.2'
0
10886
And param request = 'GetRecordById'
0
10887
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d'
0
10888
And param elementsetname = 'full'
0
10889
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10890
When method get
314
10891
Then status 200
0
10892
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d'
2
10893
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
10894
* def title = get response //citation/CI_Citation/title/CharacterString
2
10895
* def email = get response //electronicMailAddress/CharacterString
2
10896
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
10897
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
10898
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10899
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10900
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10901
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
10902
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10903
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
10904
* print organisationpath
0
10:31:03.348 [print] Beheer PDOK
10905
* print operateson
0
10:31:03.348 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification
10906
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
10907
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10908
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.304:18]e5ef707f-6458-4567-8d2c-d24fe88ab5e9
ms: 293
>>
Background:
10909
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10910
* def mystorage = Java.type('storage.DataStorage')
1
10911
* def db = new mystorage
1
10912
* def db = db.setfeature(karate.info.featureFileName)
2
10913
* def separator = java.lang.System.getProperty("file.separator")
2
10914
* def outputpath = db.outputpath()
1
10915
* eval db.ensureDirectory(outputpath)
1
10916
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10917
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10918
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10919
Given path 'geonetwork/srv/dut/inspire'
1
10920
And param service = 'CSW'
0
10921
And param version = '2.0.2'
0
10922
And param request = 'GetRecordById'
0
10923
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
10924
And param elementsetname = 'full'
0
10925
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10926
When method get
282
10927
Then status 200
0
10928
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
10929
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10930
* def title = get response //citation/CI_Citation/title/CharacterString
0
10931
* def email = get response //electronicMailAddress/CharacterString
0
10932
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10933
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10934
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10935
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10936
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10937
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10938
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10939
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10940
* print organisationpath
0
10:31:03.369 [print] TNO Geologische Dienst Nederland
10941
* print operateson
0
10:31:03.369 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10942
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10943
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10944
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.305:18]1cb58f52-c397-4cec-aba3-45358db3c4c9
ms: 306
>>
Background:
10945
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10946
* def mystorage = Java.type('storage.DataStorage')
1
10947
* def db = new mystorage
1
10948
* def db = db.setfeature(karate.info.featureFileName)
2
10949
* def separator = java.lang.System.getProperty("file.separator")
2
10950
* def outputpath = db.outputpath()
1
10951
* eval db.ensureDirectory(outputpath)
1
10952
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10953
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10954
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10955
Given path 'geonetwork/srv/dut/inspire'
0
10956
And param service = 'CSW'
0
10957
And param version = '2.0.2'
0
10958
And param request = 'GetRecordById'
0
10959
And param id = '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
10960
And param elementsetname = 'full'
0
10961
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10962
When method get
293
10963
Then status 200
0
10964
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
10965
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10966
* def title = get response //citation/CI_Citation/title/CharacterString
0
10967
* def email = get response //electronicMailAddress/CharacterString
0
10968
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10969
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10970
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10971
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10972
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10973
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10974
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10975
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10976
* print organisationpath
0
10:31:03.605 [print] Beheer PDOK
10977
* print operateson
0
10:31:03.606 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
10978
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10979
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10980
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.306:18]c3ee15e4-38bf-4d54-9c0b-cfe0e609d448
ms: 370
>>
Background:
10981
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
10982
* def mystorage = Java.type('storage.DataStorage')
1
10983
* def db = new mystorage
1
10984
* def db = db.setfeature(karate.info.featureFileName)
2
10985
* def separator = java.lang.System.getProperty("file.separator")
2
10986
* def outputpath = db.outputpath()
1
10987
* eval db.ensureDirectory(outputpath)
1
10988
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10989
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10990
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10991
Given path 'geonetwork/srv/dut/inspire'
1
10992
And param service = 'CSW'
0
10993
And param version = '2.0.2'
0
10994
And param request = 'GetRecordById'
0
10995
And param id = 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
1
10996
And param elementsetname = 'full'
0
10997
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10998
When method get
285
10999
Then status 200
0
11000
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
59
11001
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11002
* def title = get response //citation/CI_Citation/title/CharacterString
1
11003
* def email = get response //electronicMailAddress/CharacterString
1
11004
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11005
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11006
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11007
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
14
11008
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
11009
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11010
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
11011
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11012
* print organisationpath
0
10:31:03.719 [print] Beheer PDOK
11013
* print operateson
0
10:31:03.719 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b9dd8575-3c1c-41f4-add5-c4f5f2b67179#MD_DataIdentification", "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00fd1fc4-c190-4fa6-a68f-606c64a16679#MD_DataIdentification", "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00b0a2bf-57ce-44c9-b94c-f6c9a41f5c61#MD_DataIdentification", "https://www.nationaalgeoregister.n/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=da237167-7f87-4310-ad64-614233de7a42#MD_DataIdentification" ]
11014
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11015
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11016
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.307:18]bf56537a-dce6-11e3-82c1-901b0e19e163
ms: 337
>>
Background:
11017
* url 'http://nationaalgeoregister.nl/'
1
10:30:39.040 karate.env system property was:
11018
* def mystorage = Java.type('storage.DataStorage')
1
11019
* def db = new mystorage
1
11020
* def db = db.setfeature(karate.info.featureFileName)
2
11021
* def separator = java.lang.System.getProperty("file.separator")
2
11022
* def outputpath = db.outputpath()
1
11023
* eval db.ensureDirectory(outputpath)
1
11024
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11025
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11026
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11027
Given path 'geonetwork/srv/dut/inspire'
1
11028
And param service = 'CSW'
0
11029
And param version = '2.0.2'
0
11030
And param request = 'GetRecordById'
0
11031
And param id = 'bf56537a-dce6-11e3-82c1-901b0e19e163'
1
11032
And param elementsetname = 'full'
0
11033
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11034
When method get
324
11035
Then status 200
0
11036
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bf56537a-dce6-11e3-82c1-901b0e19e163'
0
11037
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
11038
* def title = get response //citation/CI_Citation/title/CharacterString
0
11039
* def email = get response //electronicMailAddress/CharacterString
0
11040
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11041
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11042
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11043
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11044
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11045
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11046
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11047
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11048
* print organisationpath
0
10:31:03.706 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
11049
* print operateson
0
10:31:03.706 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
11050
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11051
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11052
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2